Skip to content

Commit

Permalink
Fix CJSContext::GetCurrent method for jsc version
Browse files Browse the repository at this point in the history
  • Loading branch information
K0R0L committed Feb 6, 2025
1 parent 45da53e commit 2f4b744
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DesktopEditor/doctrenderer/js_internal/jsc/jsc_base.mm
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ bool IsOldVersion()

JSSmart<CJSContext> CJSContext::GetCurrent()
{
CJSContext* ret = new CJSContext();
CJSContext* ret = new CJSContext(false);
ret->m_internal->context = NSJSBase::CJSContextPrivate::GetCurrentContext();
return ret;
}
Expand Down

0 comments on commit 2f4b744

Please sign in to comment.