From: smh Date: Thu, 13 May 2004 06:42:46 +0000 (+0000) Subject: Fix on Bug KERNEL5829 X-Git-Tag: Ecole_Ete_a5~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=2f8494d5b0762b2d3315fe12669e90a843b66ab1;p=modules%2Fkernel.git Fix on Bug KERNEL5829 - Error message when quitting Salome --- diff --git a/src/Session/Session_ServerLauncher.cxx b/src/Session/Session_ServerLauncher.cxx index e9def60fb..4f278190b 100644 --- a/src/Session/Session_ServerLauncher.cxx +++ b/src/Session/Session_ServerLauncher.cxx @@ -223,8 +223,8 @@ void Session_ServerLauncher::ActivateAll() void Session_ServerLauncher::KillAll() { MESSAGE("Session_ServerLauncher::KillAll()"); - list::iterator itServ; - for (itServ = _serverThreads.begin(); itServ !=_serverThreads.end(); itServ++) + list::reverse_iterator itServ; + for (itServ = _serverThreads.rbegin(); itServ !=_serverThreads.rend(); itServ++) { delete (*itServ); }