algorithms.dispose
dispose(): voidTerminate the background algorithm worker and release its resources.
Call this when the engine is being destroyed to prevent worker leaks.
After dispose() is called, all heavy algorithm methods will reject.
Not undoable.
Returns: void