Fix crash on exit in some tests

It started occurring recently though the problem seems to be old.
Only KeyboardHandlerBase is the fix, the MouseHandler one is to be safe.
This commit is contained in:
Danila Malyutin 2015-11-14 19:34:20 +03:00
parent b46c66b4c7
commit 009aa3dcb9
2 changed files with 2 additions and 0 deletions

View File

@ -265,6 +265,7 @@ protected:
public:
virtual void Init(const u32 max_connect)=0;
virtual void Close()=0;
virtual ~KeyboardHandlerBase() = default;
void Key(const u32 code, bool pressed)
{

View File

@ -106,6 +106,7 @@ protected:
public:
virtual void Init(const u32 max_connect)=0;
virtual void Close()=0;
virtual ~MouseHandlerBase() = default;
void Button(u8 button, bool pressed)
{