Add hid_close() and hid_exit() to test gui at exit time.

This commit is contained in:
Alan Ott
2011-09-13 02:42:16 +08:00
parent 6a8ed4797d
commit 9d50cf35d0
+3
View File
@@ -180,6 +180,9 @@ MainWindow::MainWindow(FXApp *app)
MainWindow::~MainWindow()
{
if (connected_device)
hid_close(connected_device);
hid_exit();
delete title_font;
}