mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-03-22 15:05:03 +01:00
create single VSDev for lifetime, destroy application modes
This commit is contained in:
@@ -338,6 +338,9 @@ eu07_application::release_python_lock() {
|
||||
|
||||
void
|
||||
eu07_application::exit() {
|
||||
for (auto &mode : m_modes)
|
||||
mode.reset();
|
||||
|
||||
m_network.reset();
|
||||
|
||||
SafeDelete( simulation::Train );
|
||||
|
||||
Reference in New Issue
Block a user