Skip to content

Commit

Permalink
Fix deinitialization oversight
Browse files Browse the repository at this point in the history
  • Loading branch information
Nightkingale committed Apr 13, 2024
1 parent cc7099b commit b4174de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ void deinitialize() {
// This prevents hangs when called twice.
static bool isDeinitialized = false;

if (isDeinitialized) {
if (!isDeinitialized) {
nn::act::Finalize();
Mocha_UnmountFS("storage_mlc");
Mocha_DeInitLibrary();
Expand Down

0 comments on commit b4174de

Please sign in to comment.