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
2023-01-03 23:29:22 +01:00
parent 916404f0e4
commit b56eef487c
17 changed files with 84 additions and 19 deletions
+2
View File
@@ -30,6 +30,7 @@
#include "Common/Net/HTTPClient.h"
#include "Common/Net/Resolve.h"
#include "Common/Net/URL.h"
#include "Common/Thread/ThreadUtil.h"
#include "Common/File/PathBrowser.h"
#include "Common/Data/Format/JSONReader.h"
@@ -366,6 +367,7 @@ RemoteISOConnectScreen::RemoteISOConnectScreen() {
scanAborted = false;
scanThread_ = new std::thread([](RemoteISOConnectScreen *thiz) {
SetCurrentThreadName("RemoteISOScan");
thiz->ExecuteScan();
}, this);
}