diff options
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/ThreadBackgroundCommand.cxx | 2 | ||||
-rw-r--r-- | src/client/ThreadBackgroundCommand.hxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/client/ThreadBackgroundCommand.cxx b/src/client/ThreadBackgroundCommand.cxx index c50f2471e..143c35302 100644 --- a/src/client/ThreadBackgroundCommand.cxx +++ b/src/client/ThreadBackgroundCommand.cxx @@ -70,7 +70,7 @@ ThreadBackgroundCommand::Cancel() noexcept CancelThread(); thread.Join(); - /* cancel the DeferEvent, just in case the Thread has + /* cancel the InjectEvent, just in case the Thread has meanwhile finished execution */ defer_finish.Cancel(); } diff --git a/src/client/ThreadBackgroundCommand.hxx b/src/client/ThreadBackgroundCommand.hxx index 854c5572a..63efa06cc 100644 --- a/src/client/ThreadBackgroundCommand.hxx +++ b/src/client/ThreadBackgroundCommand.hxx @@ -21,7 +21,7 @@ #define MPD_THREAD_BACKGROUND_COMMAND_HXX #include "BackgroundCommand.hxx" -#include "event/DeferEvent.hxx" +#include "event/InjectEvent.hxx" #include "thread/Thread.hxx" #include <exception> @@ -34,7 +34,7 @@ class Response; */ class ThreadBackgroundCommand : public BackgroundCommand { Thread thread; - DeferEvent defer_finish; + InjectEvent defer_finish; Client &client; /** |