Skip to content

Commit

Permalink
fix: call 'endwin()' before exiting
Browse files Browse the repository at this point in the history
  • Loading branch information
FU Wenhui committed Dec 12, 2016
1 parent 9ba450c commit ba34b48
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion main.cpp
Expand Up @@ -134,9 +134,11 @@ int main(int argc, char **argv) {
}
}
}

endwin();

libusb_close(hdev);
libusb_exit(nullptr);

return 0;
}

0 comments on commit ba34b48

Please sign in to comment.