Skip to content

Commit

Permalink
Merge pull request #3054 from MirServer/fix-a-wayland-lock
Browse files Browse the repository at this point in the history
platforms/wayland: Fix a lock in DisplayClient
  • Loading branch information
Saviq authored Sep 28, 2023
2 parents 076ebfd + e4ccfcd commit 6e2dc72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platforms/wayland/displayclient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,7 @@ void mgw::DisplayClient::on_display_config_changed()

void mgw::DisplayClient::delete_outputs_to_be_deleted()
{
std::lock_guard{outputs_mutex};
std::lock_guard lock{outputs_mutex};
outputs_to_be_deleted.clear();
}

Expand Down

0 comments on commit 6e2dc72

Please sign in to comment.