]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Fix on Bug KERNEL5829
authorsmh <smh@opencascade.com>
Thu, 13 May 2004 06:42:46 +0000 (06:42 +0000)
committersmh <smh@opencascade.com>
Thu, 13 May 2004 06:42:46 +0000 (06:42 +0000)
- Error message when quitting Salome

src/Session/Session_ServerLauncher.cxx

index e9def60fba7fbb3c37541c30efab99c6f7b5b562..4f278190b24de39e6c5b94b318bf7c444007cbff 100644 (file)
@@ -223,8 +223,8 @@ void Session_ServerLauncher::ActivateAll()
 void Session_ServerLauncher::KillAll()
 {
   MESSAGE("Session_ServerLauncher::KillAll()");
-  list<Session_ServerThread*>::iterator itServ;
-  for (itServ = _serverThreads.begin(); itServ !=_serverThreads.end(); itServ++)
+  list<Session_ServerThread*>::reverse_iterator itServ;
+  for (itServ = _serverThreads.rbegin(); itServ !=_serverThreads.rend(); itServ++)
     {
       delete (*itServ);
     }