mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-26 20:25:34 +08:00
[fix] fix recreate peer failed due to is_create_connection_ flag not reset
This commit is contained in:
@@ -203,9 +203,10 @@ int Render::SettingWindow() {
|
|||||||
|
|
||||||
// Recreate peer instance
|
// Recreate peer instance
|
||||||
{
|
{
|
||||||
|
LOG_INFO("Recreate peer instance");
|
||||||
DestroyPeer(peer_);
|
DestroyPeer(peer_);
|
||||||
|
is_create_connection_ = false;
|
||||||
CreateConnectionPeer();
|
CreateConnectionPeer();
|
||||||
LOG_INFO("Recreate peer instance successful");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
2
thirdparty/projectx
vendored
2
thirdparty/projectx
vendored
Submodule thirdparty/projectx updated: 1626b482de...9e30203e90
Reference in New Issue
Block a user