[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-users] AppClock.clear? (was Button action not freeing synth)



That's right. You shouldn't clear AppClock because it will affect
EVERYTHING running on AppClock. One of the things running on AppClock
is the server's aliveThread.

Keep track of your threads and stop them individually.
hjh

On Thu, Apr 30, 2009 at 9:44 AM, Scott Worthington <stwbass@xxxxxxxxx> wrote:
> Hello,
>
> Clearing the AppClock is making my server window freeze up until cmd+.
>
> a = AppClock.sched(0, { "foo".postln; 1}) //sched
> x = {SinOsc.ar}.play // new synth in the server window
> a.clear //clear it, server window freezes
> s.queryAllNodes //temp is there
> x.free //still no change in server window
> s.queryAllNodes //gone as it should be


-- 
James Harkins /// dewdrop world
jamshark70@xxxxxxxxxxxxxxxxx
http://www.dewdrop-world.net

"Come said the Muse,
Sing me a song no poet has yet chanted,
Sing me the universal."  -- Whitman

_______________________________________________
sc-users mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/