So I have a periodically_call_remote call happenign every 5 seconds.
After about 10-20 seconds at most, everything that it needs to do is
done, and it doesn’t need to fire anymore.
Now, I can take advantage of the :condition argument to put in some
seconds it’s deciding not to make the call to the server anymore.
If I leave the window open long enough, or have enough such windows
open, this starts causing noticeable slowdown in my browser. (Perhaps
some kidn of Firefox memory leak, perhaps not, who knows). I really want
the thing to just stop firing–not to fire every five seconds and check
to see if it should make the XML call to server, but just not fire at
all anymore, it’s done.
Is there any good way to do this?
Thanks for any advice.