mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-11-02 00:15:06 +01:00
gdbstub: Correct typo
Constructing and destructing a Core::System instance for the GetInstance() call isn't the smartest thing to do.
This commit is contained in:
parent
c6293d7357
commit
19814d68c1
@ -908,7 +908,7 @@ void ToggleServer(bool status) {
|
||||
server_enabled = status;
|
||||
|
||||
// Start server
|
||||
if (!IsConnected() && Core::System().GetInstance().IsPoweredOn()) {
|
||||
if (!IsConnected() && Core::System::GetInstance().IsPoweredOn()) {
|
||||
Init();
|
||||
}
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user