unref


Description:

[ Version ( since = "6.0" ) ]
public void unref ()

Decreases this's reference count.

When reference count reaches 0, then the object is destroyed, note that in this case this function only returns when the worker thread actually has terminated, which can take some time if it's busy.

If this is null, then nothing happens.

Parameters:

this

a Worker, or null