Fix crash on exit T3D when build with CMake.

Process::_signalProcess is destroyed first, and then Win32WindowManager::~Win32WindowManager() try to remove from deleted Signal causing a crash.

SlotSignal handle this automatically.
This commit is contained in:
LuisAntonRebollo 2014-04-23 21:16:34 +02:00
parent 0137c86765
commit 881d578aae
3 changed files with 9 additions and 4 deletions

View file

@ -85,6 +85,8 @@ class Win32WindowManager : public PlatformWindowManager
/// If a curtain window is present, then its HWND will be stored here.
HWND mCurtainWindow;
SignalSlot<void()> mOnProcessSignalSlot;
public:
Win32WindowManager();
~Win32WindowManager();