diff options
author | saturneric <[email protected]> | 2023-12-15 13:14:17 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2023-12-15 13:14:17 +0000 |
commit | f9a49043c35e73fc2d4ffb3ed9b39c33849c43b3 (patch) | |
tree | 7e03b0b62119ff5d5dcd732ec1ccb7d2296df86d /src/core/thread/Task.h | |
parent | fix: slove some issues on memory and intilizations (diff) | |
download | GpgFrontend-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.h | 3 |
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; }; |