Skip to content

Commit

Permalink
Destroy window in correct thread.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitry Chapyshev committed Aug 26, 2023
1 parent 632e53b commit ed358b2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions source/host/desktop_session_agent.cc
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,10 @@ void DesktopSessionAgent::onBeforeThreadRunning()
void DesktopSessionAgent::onAfterThreadRunning()
{
LOG(LS_INFO) << "UI thread stopping";

#if defined(OS_WIN)
message_window_.reset();
#endif // defined(OS_WIN)
}

//--------------------------------------------------------------------------------------------------
Expand Down

0 comments on commit ed358b2

Please sign in to comment.