Commit 57d5f386 authored by Lorenz Meier's avatar Lorenz Meier
Browse files

Fix joystick destruction

parent 63e37c4a
......@@ -346,7 +346,7 @@ MainWindow::~MainWindow()
{
joystick->shutdown();
joystick->wait(5000);
delete joystick;
joystick->deleteLater();
joystick = NULL;
}
#endif
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment