Showing the changes to libraries/script-engine/src/ScriptManager.cpp (1 of 4 files). Show all
Unified · Split
| @@ -381,6 +381,7 @@ ScriptManager::~ScriptManager() { · 380 unmodified lines | ||
| 381 | 381 | if (_type == ScriptManager::Type::ENTITY_CLIENT) { |
| 382 | 382 | printf("ScriptManager::~ScriptManager"); |
| 383 | 383 | } |
| 384 | + _isDeleted = true; | |
| 384 | 385 | } |
| 385 | 386 | |
| 386 | 387 | void ScriptManager::disconnectNonEssentialSignals() { |