diff options
author | Saturneric <[email protected]> | 2023-02-18 11:12:03 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2023-02-18 11:12:03 +0000 |
commit | 3b062240c399bc7fb24fde3442db407386c17161 (patch) | |
tree | 06f41cd7928ae1f5ab2b935203d8399dab11373a /src/core/thread/FileReadTask.cpp | |
parent | fix: improve stability of the object-channel model (diff) | |
download | GpgFrontend-3b062240c399bc7fb24fde3442db407386c17161.tar.gz GpgFrontend-3b062240c399bc7fb24fde3442db407386c17161.zip |
fix: improve the task execution model
Diffstat (limited to 'src/core/thread/FileReadTask.cpp')
-rw-r--r-- | src/core/thread/FileReadTask.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/thread/FileReadTask.cpp b/src/core/thread/FileReadTask.cpp index 0888e029..73954d28 100644 --- a/src/core/thread/FileReadTask.cpp +++ b/src/core/thread/FileReadTask.cpp @@ -73,8 +73,8 @@ void FileReadTask::read_bytes() { } else { SPDLOG_DEBUG("read bytes end"); emit SignalFileBytesReadEnd(); - // finish task - emit SignalTaskFinished(); + // announce finish task + emit SignalTaskRunnableEnd(0); } } |