Skip to content

Commit

Permalink
Stop the Mir server from the main loop
Browse files Browse the repository at this point in the history
  • Loading branch information
AlanGriffiths committed Oct 12, 2023
1 parent 7aa25d2 commit 4ec7996
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/miral/runner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ void miral::MirRunner::stop()

if (auto const server = self->weak_server.lock())
{
server->stop();
server->the_main_loop()->enqueue(this, [server] { server->stop(); });
}
}

Expand Down

0 comments on commit 4ec7996

Please sign in to comment.