[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [sc-users] Re: How to perform a function while closing SuperCollider IDE?
> ShutDown.add { "touch /Users/MarinusKlaassen/Desktop/something
> else".systemCmd };
>
> With message .run the file was written properly though.
> ShutDown.run
if you can compile from sources, can you test if patch helps?
thnx, tim
From 73b06575818ce3974acd351c69a5a2d1740d5a0b Mon Sep 17 00:00:00 2001
Message-Id: <73b06575818ce3974acd351c69a5a2d1740d5a0b.1356876471.git.tim@xxxxxxxxxx>
From: Tim Blechmann <tim@xxxxxxxxxx>
Date: Sun, 30 Dec 2012 15:07:44 +0100
Subject: [PATCH] scide: ScProcess - explicitly ask language to quit
Signed-off-by: Tim Blechmann <tim@xxxxxxxxxx>
---
editors/sc-ide/core/sc_process.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/editors/sc-ide/core/sc_process.cpp b/editors/sc-ide/core/sc_process.cpp
index e00b173..4140461 100644
--- a/editors/sc-ide/core/sc_process.cpp
+++ b/editors/sc-ide/core/sc_process.cpp
@@ -165,6 +165,7 @@ void ScProcess::stopLanguage (void)
return;
}
+ evaluateCode("0.exit", true);
closeWriteChannel();
mTerminationRequested = true;
--
1.7.10.4