From 2f8494d5b0762b2d3315fe12669e90a843b66ab1 Mon Sep 17 00:00:00 2001 From: smh Date: Thu, 13 May 2004 06:42:46 +0000 Subject: [PATCH] Fix on Bug KERNEL5829 - Error message when quitting Salome --- src/Session/Session_ServerLauncher.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } -- 2.39.2