aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/thread/Task.h
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2023-12-15 13:14:17 +0000
committersaturneric <[email protected]>2023-12-15 13:14:17 +0000
commitf9a49043c35e73fc2d4ffb3ed9b39c33849c43b3 (patch)
tree7e03b0b62119ff5d5dcd732ec1ccb7d2296df86d /src/core/thread/Task.h
parentfix: slove some issues on memory and intilizations (diff)
downloadGpgFrontend-f9a49043c35e73fc2d4ffb3ed9b39c33849c43b3.tar.gz
GpgFrontend-f9a49043c35e73fc2d4ffb3ed9b39c33849c43b3.zip
fix: slove threading and memory issues
Diffstat (limited to 'src/core/thread/Task.h')
-rw-r--r--src/core/thread/Task.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/thread/Task.h b/src/core/thread/Task.h
index da74005f..8f157917 100644
--- a/src/core/thread/Task.h
+++ b/src/core/thread/Task.h
@@ -29,6 +29,7 @@
#pragma once
#include "core/GpgFrontendCore.h"
+#include "core/function/SecureMemoryAllocator.h"
#include "core/model/DataObject.h"
namespace GpgFrontend::Thread {
@@ -90,7 +91,7 @@ class GPGFRONTEND_CORE_EXPORT Task : public QObject, public QRunnable {
private:
class Impl;
- Impl* p_;
+ SecureUniquePtr<Impl> p_;
void run() override;
};