diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/nodedef.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nodedef.h b/src/nodedef.h index 1be764121..ef6371885 100644 --- a/src/nodedef.h +++ b/src/nodedef.h @@ -402,9 +402,9 @@ public: m_ndef = NULL; } - ~NodeResolver() + virtual ~NodeResolver() { - if (!m_lookup_done) + if (!m_lookup_done && m_ndef) m_ndef->cancelNodeResolve(this); } |