[geos-commits] r3670 - trunk/src/util

svn_geos at osgeo.org svn_geos at osgeo.org
Thu Jun 7 07:41:33 PDT 2012


Author: strk
Date: 2012-06-07 07:41:32 -0700 (Thu, 07 Jun 2012)
New Revision: 3670

Modified:
   trunk/src/util/Interrupt.cpp
Log:
Clear interruption request flag just before interrupting

Modified: trunk/src/util/Interrupt.cpp
===================================================================
--- trunk/src/util/Interrupt.cpp	2012-06-07 10:24:08 UTC (rev 3669)
+++ trunk/src/util/Interrupt.cpp	2012-06-07 14:41:32 UTC (rev 3670)
@@ -25,7 +25,10 @@
 };
 
 void
-Interrupt::interrupt() { throw InterruptedException(); }
+Interrupt::interrupt() {
+  requested = false;
+  throw InterruptedException();
+}
 
 bool Interrupt::requested = false;
 Interrupt::Callback *Interrupt::callback = 0;



More information about the geos-commits mailing list