mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-11 05:26:24 +02:00
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:
1 parent
916404f0e4
commit
b56eef487c
17 files changed
+84
-19
No files matched your search
@@ -314,6 +314,8 @@ static void ForwardDebuggerRequest(const http::Request &request) {
|
||||
static void ExecuteWebServer() {
|
||||
SetCurrentThreadName("HTTPServer");
|
||||
|
||||
AndroidJNIThreadContext context; // Destructor detaches.
|
||||
|
||||
auto http = new http::Server(new NewThreadExecutor());
|
||||
http->RegisterHandler("/", &HandleListing);
|
||||
// This lists all the (current) recent ISOs.
|
||||
|
||||
Reference in new issue
Block a user