Simulators and firmwares unregistered when application ends (fixes memory leaks)
This commit is contained in:
@@ -81,3 +81,9 @@ SimulatorFactory *getSimulatorFactory(const QString &name)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
void unregisterSimulators()
|
||||
{
|
||||
foreach(SimulatorFactory *factory, registered_simulators) {
|
||||
delete factory;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user