Strict mode checking - no way to forget detaching now.

And if we forget to attach, boom. Hopefully I caught all of them.
This commit is contained in:
Henrik Rydgård committed 2023-01-05 08:38:52 +01:00
1 parent 916404f0e4
commit b56eef487c
17 files changed
+84 -19

No files matched your search

+3
View File
@@ -164,6 +164,9 @@ namespace SaveState
compressThread_.join();
compressThread_ = std::thread([=]{
SetCurrentThreadName("SaveStateCompress");
AndroidJNIThreadContext jniContext;
Compress(*result, *state, *base);
});
}