BiomeVisualiser: fixed crash at shutdown caused by bad logging
This commit is contained in:
parent
420e164ea6
commit
4fdb1c1aaf
@ -21,8 +21,8 @@ int WINAPI WinMain(HINSTANCE a_Instance, HINSTANCE a_PrevInstance, LPSTR a_CmdLi
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
cBiomeVisualiser::cBiomeVisualiser(void)
|
cBiomeVisualiser::cBiomeVisualiser(void) :
|
||||||
// : m_Logger(Printf("BiomeVisualiser_%08x", time(NULL)))
|
m_Logger(new cMCLogger(Printf("BiomeVisualiser_%08x.log", time(NULL))))
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -23,7 +23,7 @@ public:
|
|||||||
protected:
|
protected:
|
||||||
cBiomeViewWnd m_MainWnd;
|
cBiomeViewWnd m_MainWnd;
|
||||||
|
|
||||||
cMCLogger m_Logger;
|
cMCLogger * m_Logger;
|
||||||
} ;
|
} ;
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user