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:
parent
916404f0e4
commit
b56eef487c
17 changed files with 84 additions and 19 deletions
|
@ -164,6 +164,9 @@ namespace SaveState
|
|||
compressThread_.join();
|
||||
compressThread_ = std::thread([=]{
|
||||
SetCurrentThreadName("SaveStateCompress");
|
||||
|
||||
AndroidJNIThreadContext jniContext;
|
||||
|
||||
Compress(*result, *state, *base);
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue