diff --git a/remote_desk_gui/main.cpp b/remote_desk_gui/main.cpp index 3f3e31f..0727dec 100644 --- a/remote_desk_gui/main.cpp +++ b/remote_desk_gui/main.cpp @@ -647,6 +647,7 @@ int main() { } else if (strcmp(connect_label, "Disconnect") == 0 && joined) { LeaveConnection(peer_client); joined = false; + received_frame = false; } connect_button_pressed = !connect_button_pressed;