1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

stop game process with KEY_F8 crash fixed

Fix: #37121
This commit is contained in:
Thakee Nathees
2020-03-19 07:21:43 +05:30
parent cf50ee4fa4
commit 76fd073f58

View File

@@ -810,7 +810,7 @@ void ScriptEditorDebugger::_notification(int p_what) {
const uint64_t until = OS::get_singleton()->get_ticks_msec() + 20;
while (peer->has_message()) {
while (peer.is_valid() && peer->has_message()) {
Array arr = peer->get_message();
if (arr.size() != 2 || arr[0].get_type() != Variant::STRING || arr[1].get_type() != Variant::ARRAY) {