diff options
Diffstat (limited to 'src/server/events/Disconnect.cpp')
-rw-r--r-- | src/server/events/Disconnect.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/server/events/Disconnect.cpp b/src/server/events/Disconnect.cpp index 4a961d9e..874e0d99 100644 --- a/src/server/events/Disconnect.cpp +++ b/src/server/events/Disconnect.cpp @@ -199,12 +199,11 @@ void Disconnect::execute(ProcessContext& context) { if (_status == Status::SUCCESS) { - if (!_impl->execute(context, true)) { + if (_impl->execute(context, true)) { + _graph->set_compiled_graph(_compiled_graph); + } else { _status = Status::NOT_FOUND; - return; } - - _graph->set_compiled_graph(_compiled_graph); } } |