Skip to content

Commit

Permalink
Making the thread static and it's now listening on the port. Making s…
Browse files Browse the repository at this point in the history
…ome progress. :)
  • Loading branch information
nacnud-sco committed May 6, 2024
1 parent e9c1a49 commit 4d3ac8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Src/BeebWin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5509,7 +5509,7 @@ void BeebWin::GdbStartServer()
static GdbServer gdbServer(/*Simulation controller =*/&simControl, /*tcp port=*/51000);

if (serverStarted == false) {
std::thread gdbThread(&GdbServer::serverThread, gdbServer);
static std::thread gdbThread(&GdbServer::serverThread, gdbServer);
}
}

Expand Down

0 comments on commit 4d3ac8e

Please sign in to comment.