Core/Misc: Fix static analysis issues (#25178)

(cherry picked from commit 7cf122fc2a)
This commit is contained in:
Giacomo Pozzoni
2020-07-31 20:53:13 +00:00
committed by Shauren
parent a21fca5ddf
commit 61bf51874d
20 changed files with 137 additions and 97 deletions

View File

@@ -225,7 +225,7 @@ public:
/// Tries to terminate the process
void Terminate() override
{
if (!my_child)
if (my_child)
{
was_terminated = true;
try