/** Removes the rendering background task from the scheduled task queue. */ public void stop() { if (renderTask == null) return; renderTask.cancel(); renderTask = null; }