From 2c490d42292fe2214aca27109740409eb02e1d39 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Sun, 15 Jul 2012 20:07:38 +0000 Subject: World threads are stopped before the plugin mgr for clean exit (FS #228) git-svn-id: http://mc-server.googlecode.com/svn/trunk@669 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cRoot.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source/cRoot.h') diff --git a/source/cRoot.h b/source/cRoot.h index 21bd39f7d..fc12d876c 100644 --- a/source/cRoot.h +++ b/source/cRoot.h @@ -78,6 +78,10 @@ private: /// Starts each world's life void StartWorlds(void); + /// Stops each world's threads, so that it's safe to unload them + void StopWorlds(void); + + /// Unloads all worlds from memory void UnloadWorlds(void); cServer * m_Server; -- cgit v1.2.3