Skip to content

Commit

Permalink
[unreal]quickjs版本兼容
Browse files Browse the repository at this point in the history
  • Loading branch information
chexiongsheng committed Jul 19, 2022
1 parent 8d11a08 commit 39507b9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions unreal/Puerts/Source/JsEnv/Private/JsEnvImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1008,7 +1008,11 @@ bool FJsEnvImpl::IdleNotificationDeadline(double DeadlineInSeconds)
#ifdef THREAD_SAFE
v8::Locker Locker(MainIsolate);
#endif
#ifndef WITH_QUICKJS
return MainIsolate->IdleNotificationDeadline(DeadlineInSeconds);
#else
return true;
#endif
}

void FJsEnvImpl::LowMemoryNotification()
Expand Down

0 comments on commit 39507b9

Please sign in to comment.