Author: tfischer
Date: Sun May 15 20:09:00 2011
New Revision: 1103523

URL: http://svn.apache.org/viewvc?rev=1103523&view=rev
Log:
TORQUE-122: fix TorqueInstance.shutdown() behaviour for closing databases
Thanks to Markus Müller for reporting the issue and suggesting a fix.

Modified:
    
db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/TorqueInstance.java

Modified: 
db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/TorqueInstance.java
URL: 
http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/TorqueInstance.java?rev=1103523&r1=1103522&r2=1103523&view=diff
==============================================================================
--- 
db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/TorqueInstance.java
 (original)
+++ 
db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/TorqueInstance.java
 Sun May 15 20:09:00 2011
@@ -708,7 +708,7 @@ public class TorqueInstance
                     // Do not close because this leads to closing
                     // the same DataSourceFactory twice.
                     database.setDataSourceFactory(null);
-                    break;
+                    continue;
                 }
 
                 try



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to