summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-06-30 21:39:08 +0300
committerAndrei Karas <akaras@inbox.ru>2012-06-30 21:39:08 +0300
commit59572017b51da88d07744c8feab64d356d2e33ff (patch)
treecfa6f63762f71876716fcfec73abf28327198d08 /src/client.cpp
parentfce58131916103f3c2120adafcf59895a402a634 (diff)
downloadmv-59572017b51da88d07744c8feab64d356d2e33ff.tar.gz
mv-59572017b51da88d07744c8feab64d356d2e33ff.tar.bz2
mv-59572017b51da88d07744c8feab64d356d2e33ff.tar.xz
mv-59572017b51da88d07744c8feab64d356d2e33ff.zip
Clean all vars on exit except logger.
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client.cpp b/src/client.cpp
index 79ec041ba..3bd59d7d0 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -764,6 +764,8 @@ void Client::gameClear()
delete joystick;
joystick = nullptr;
+ keyboard.deinit();
+
if (logger)
logger->log1("Quitting10");