mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-04-07 13:55:33 +08:00
JSC: Added Dispose() to ~CJSContext()
This commit is contained in:
@ -205,7 +205,8 @@ namespace NSJSBase
|
||||
}
|
||||
CJSContext::~CJSContext()
|
||||
{
|
||||
m_internal->context = nil;
|
||||
if (m_internal->context)
|
||||
Dispose();
|
||||
RELEASEOBJECT(m_internal);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user