mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-04 04:24:47 +02:00
Clarified comment on controller endpoint cleanup
This commit is contained in:
parent
790a55d093
commit
f3732aaa62
1 changed files with 1 additions and 1 deletions
|
@ -7557,8 +7557,8 @@ void Application::registerScriptEngineWithApplicationServices(ScriptManagerPoint
|
||||||
// Request removal of controller routes with callbacks to a given script engine
|
// Request removal of controller routes with callbacks to a given script engine
|
||||||
auto userInputMapper = DependencyManager::get<UserInputMapper>();
|
auto userInputMapper = DependencyManager::get<UserInputMapper>();
|
||||||
userInputMapper->scheduleScriptEndpointCleanup(scriptManager->engine().get());
|
userInputMapper->scheduleScriptEndpointCleanup(scriptManager->engine().get());
|
||||||
|
// V8TODO: Maybe we should wait until endpoint cleanup is finished before deleting the script engine if there are still crashes
|
||||||
QObject::disconnect(*connection);
|
QObject::disconnect(*connection);
|
||||||
// V8TODO: Maybe we should wait until removal is finished if there are still crashes
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue