Skip to content

Commit

Permalink
fix: disconnect and reconnect crash
Browse files Browse the repository at this point in the history
  • Loading branch information
RobbeBryssinck committed May 1, 2022
1 parent 89bb4d2 commit 69f2201
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Code/client/Games/Skyrim/TESObjectREFR.h
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ struct TESObjectREFR : TESForm
virtual void sub_62();
virtual void sub_63();
virtual void sub_64();
virtual void sub_65();
virtual void DetachHavok();
virtual void sub_66();
virtual void sub_67();
virtual void sub_68();
Expand Down
2 changes: 1 addition & 1 deletion Code/client/Services/Generic/OverlayClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ void OverlayClient::ProcessConnectMessage(CefRefPtr<CefListValue> aEventArgs)

void OverlayClient::ProcessDisconnectMessage()
{
m_transport.Close();
World::Get().GetRunner().Queue([]() { World::Get().GetTransport().Close(); });
}

void OverlayClient::ProcessChatMessage(CefRefPtr<CefListValue> aEventArgs)
Expand Down

0 comments on commit 69f2201

Please sign in to comment.