Class cWorld; Function ScheduleTask; Only one Function Callback
#11
(12-24-2014, 03:08 AM)worktycho Wrote: It's a known bug in the server and requires changes to the lua/scheduler interface. The relevant issue is: https://github.com/mc-server/MCServer/issues/1556

Quote:We have three options:
1.Keep the plugin loaded in a partially unloaded state until all scheduled tasks are done.
- Increases reload time

2.Kill all scheduled tasks on unload.
- Can leave plugins in an inconsistent state.

3.Transfer scheduled task to new instance.
- Function may not exist in new instance.
- Doesn't fix unload.
The second Option sounds like good.
Have you an example code for this?
How can i kill my scheduled tasks on a Server reload?[/quote]
Reply
Thanks given by:


Messages In This Thread
RE: Class cWorld; Function ScheduleTask; Only one Function Callback - by VeryBlackMan - 12-26-2014, 08:12 PM



Users browsing this thread: 2 Guest(s)