@@ -37,6 +37,8 @@ AsteroidsEditor::~AsteroidsEditor()
laden->release();
if( i )
i->release();
+ if( daten->isRunning() )
+ daten->warteAufThread( INT_MAX );
if( daten )
daten->release();
dialogs->release();
@@ -21,11 +21,11 @@ KarteDaten::~KarteDaten()
warteAufThread( INT_MAX );
cs.lock();
for( auto i = objekte.getIterator(); i; i++ )
- delete i;
+ delete i._;
for( auto i = spieler.getIterator(); i; i++ )
for( auto i = teams.getIterator(); i; i++ )
sts->release();
client->release();
}