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/cWorld.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'source/cWorld.h') diff --git a/source/cWorld.h b/source/cWorld.h index fd594f22b..0a4d0280e 100644 --- a/source/cWorld.h +++ b/source/cWorld.h @@ -326,7 +326,10 @@ public: void Tick(float a_Dt); - void InitializeSpawn(); + void InitializeSpawn(void); + + /// Stops threads that belong to this world (part of deinit) + void StopThreads(void); void CastThunderbolt (int a_X, int a_Y, int a_Z); //tolua_export void SetWeather ( eWeather a_Weather ); //tolua_export -- cgit v1.2.3