Asynchronous Tasks

Discussion in 'Plugin Development' started by Austy, May 23, 2013.

Thread Status:
Not open for further replies.
  1. Offline

    Austy

    What is the best way to force all asynchronous tasks to complete before plugin is disabled? Should I call BukkitScheduler.getPendingTasks() in a listener for PluginDisableEvent, and schedule them again synchronously?
     
Thread Status:
Not open for further replies.

Share This Page