Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
feiy committed Dec 18, 2023
1 parent 969a902 commit d7c1890
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Three.V8/GamePlayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ void GamePlayer::LoadScript(const char* dir, const char* filename)

void GamePlayer::UnloadScript()
{
AsyncCallbacks::CheckPendings();
if (m_context != nullptr)
{
v8::Isolate* isolate = m_v8vm.m_isolate;
Expand Down

0 comments on commit d7c1890

Please sign in to comment.