[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[sc-users] are routines automatically collected when finished
Hello,
I just want to make sure that I am not leaving a bunch of garbage. If I
do something like the following will the forked routine be destroyed
when it is done? If not, can I have it kill itself?
if(safeMode && (limitSwitchNeg == limitSwitchPos), {
safeMode = false;
fork {
netAddress.sendMsg("/STATE/SET", "{message:
\"all clear\"}");
20.do({0.1.wait});
netAddress.sendMsg("/STATE/SET", "{message:
\"\"}");
}
});
Thanks in advance,
Michael
_______________________________________________
sc-users mailing list
info (subscription, etc.): http://www.birmingham.ac.uk/facilities/ea-studios/research/supercollider/mailinglist.aspx
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/