How to release/delete a LinkClock instance?

Hi list,

I am instantiating a LinkClock and make it the default TempoClock like
this:

(
~myLinkClock = LinkClock.new(tempo:
130/60/4).latency_(Server.default.latency).permanent_(true);
TempoClock.default = ~myLinkClock;
)

How can I release and delete this LinkClock instance alltogether?

.release and .clear seem to only release playing synth nodes.

And as a follow-up question: How can I unassign local and environment
variables?

Thanks!
Peter

LinkClock is just a TempoClock, and should have all the same behaviors. The internal resources for a TempoClock (and thus LinkClock) are deleted when the clock is stopped, e.g. clock.stop.

Just assign to nil:

~variable = nil;
variable = nil;

Thanks Scott! This makes sense, as does unassigning via assigning a
variable to nil.

best, P