MCPcopy Create free account
hub / github.com/codereader/DarkRadiant / shutdownModule

Method shutdownModule

radiantcore/map/Map.cpp:1559–1573  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1557}
1558
1559void Map::shutdownModule()
1560{
1561 _undoEventListener.disconnect();
1562
1563 abortMergeOperation();
1564
1565 GlobalRadiantCore().getMessageBus().removeListener(_shutdownListener);
1566
1567 _scaledModelExporter.shutdown();
1568
1569 GlobalSceneGraph().removeSceneObserver(this);
1570
1571 _modelScalePreserver.reset();
1572 _mapPositionManager.reset();
1573}
1574
1575void Map::handleShutdownRequest(radiant::ApplicationShutdownRequest& request)
1576{

Callers

nothing calls this directly

Calls 5

removeListenerMethod · 0.80
removeSceneObserverMethod · 0.80
disconnectMethod · 0.45
shutdownMethod · 0.45
resetMethod · 0.45

Tested by

no test coverage detected