diff options
Diffstat (limited to 'ui/progresstask.h')
| -rw-r--r-- | ui/progresstask.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/progresstask.h b/ui/progresstask.h index 1676cabd..c8b094c9 100644 --- a/ui/progresstask.h +++ b/ui/progresstask.h @@ -445,6 +445,10 @@ class BINARYNINJAUIAPI BackgroundThread : public QObject */ void start(QVariant init = QVariant()) { + if (!m_hasOwner || m_owner.isNull()) + { + BinaryNinja::LogDebug("Starting background thread with no owning object. This is technically allowed but it might outlive any UIs it changes."); + } if (m_then.empty() && m_catch.empty() && m_finally.empty()) { std::unique_lock lock(m_finishLock); |
