diff options
Diffstat (limited to 'src/commands/command_instance.h')
-rw-r--r-- | src/commands/command_instance.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/commands/command_instance.h b/src/commands/command_instance.h index b1028d0..febe5c5 100644 --- a/src/commands/command_instance.h +++ b/src/commands/command_instance.h @@ -89,10 +89,7 @@ class CommandInstance final : public Command { // Sets the pointer to queue this command is part of. void AttachToQueue(CommandQueue* queue) { queue_ = queue; } - void DetachFromQueue() { - observers_.Clear(); - queue_ = nullptr; - } + void DetachFromQueue() { queue_ = nullptr; } private: // Helper function to update the command status. |