aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/thread/FileReadTask.cpp
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2023-02-18 11:12:03 +0000
committerSaturneric <[email protected]>2023-02-18 11:12:03 +0000
commit3b062240c399bc7fb24fde3442db407386c17161 (patch)
tree06f41cd7928ae1f5ab2b935203d8399dab11373a /src/core/thread/FileReadTask.cpp
parentfix: improve stability of the object-channel model (diff)
downloadGpgFrontend-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.cpp4
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);
}
}