From 5190248f2040b086e6d27df7f3fa63c23919ece2 Mon Sep 17 00:00:00 2001 From: Thays Grazia Date: Mon, 27 Nov 2023 11:16:23 -0300 Subject: [PATCH] Fixing wrong check --- src/mono/mono/component/debugger-agent.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mono/mono/component/debugger-agent.c b/src/mono/mono/component/debugger-agent.c index 9a6906f6e272ef..1e8e27686a287e 100644 --- a/src/mono/mono/component/debugger-agent.c +++ b/src/mono/mono/component/debugger-agent.c @@ -11087,7 +11087,7 @@ bool mono_debugger_agent_receive_and_process_command (void) if (command_set == CMD_SET_VM && (command == CMD_VM_DISPOSE || command == CMD_VM_EXIT)) break; } - return !(command_set == CMD_SET_VM && command == CMD_VM_DISPOSE); + return (command_set == CMD_SET_VM && command == CMD_VM_DISPOSE); } static gboolean