mirror of
https://github.com/overte-org/overte.git
synced 2025-07-23 13:44:32 +02:00
remove unregisterListener that isn't needed anymore
This commit is contained in:
parent
7a13c867ae
commit
1c98c5e02c
1 changed files with 0 additions and 3 deletions
|
@ -194,9 +194,6 @@ void Agent::run() {
|
||||||
void Agent::aboutToFinish() {
|
void Agent::aboutToFinish() {
|
||||||
_scriptEngine.stop();
|
_scriptEngine.stop();
|
||||||
|
|
||||||
auto& packetReceiver = DependencyManager::get<NodeList>()->getPacketReceiver();
|
|
||||||
packetReceiver.unregisterListener(DependencyManager::get<AvatarHashMap>().data());
|
|
||||||
|
|
||||||
// our entity tree is going to go away so tell that to the EntityScriptingInterface
|
// our entity tree is going to go away so tell that to the EntityScriptingInterface
|
||||||
DependencyManager::get<EntityScriptingInterface>()->setEntityTree(NULL);
|
DependencyManager::get<EntityScriptingInterface>()->setEntityTree(NULL);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue