diff --git a/src/hooks.hook.cpp b/src/hooks.hook.cpp index 4f7c342..5be1633 100644 --- a/src/hooks.hook.cpp +++ b/src/hooks.hook.cpp @@ -46,7 +46,7 @@ namespace lime hook_base::~hook_base() { - if (!m_impl) + if (!m_impl || !m_impl->source_page) { return; }