Tag: cws_src680_kabrefine
User: fs      
Date: 06/01/06 07:16:49

Modified:
 /dba/connectivity/source/drivers/kab/
  KDriver.cxx

Log:
 #60062# don't shutdown the KApplication if OOo itself is currently being shut 
down - this might crash.

File Changes:

Directory: /dba/connectivity/source/drivers/kab/
================================================

File [changed]: KDriver.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/connectivity/source/drivers/kab/KDriver.cxx?r1=1.2.10.4&r2=1.2.10.5
Delta lines:  +9 -3
-------------------
--- KDriver.cxx 6 Jan 2006 15:09:24 -0000       1.2.10.4
+++ KDriver.cxx 6 Jan 2006 15:16:46 -0000       1.2.10.5
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: KDriver.cxx,v $
  *
- *  $Revision: 1.2.10.4 $
+ *  $Revision: 1.2.10.5 $
  *
- *  last change: $Author: fs $ $Date: 2006/01/06 15:09:24 $
+ *  last change: $Author: fs $ $Date: 2006/01/06 15:16:46 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -295,7 +295,13 @@
 
        KDriver_BASE::disposing();
 
-    m_aImplModule.shutdown();
+    // m_aImplModule.shutdown();
+    // do not do this. Since a css.sdbc.Driver is a singleton class, it is 
disposed when the
+    // whole process terminates. At this point in time, we cannot reliably 
know the state of
+    // the KApplication. In particular, other libraries which the KApplication 
relies on might
+    // already have been unloaded.
+    // Not doing the shutdown at this point should not have side effects: 
Since we only come
+    // to here when OOo is shutting down itself, it doesn't matter ...
 }
 // static ServiceInfo
 
//------------------------------------------------------------------------------




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to