Patch #1890 2007-02-18 04:32

stahta01

Code Completion disable on windows crashes
Download
1890-Code_Completio.patch (516 bytes)
Category
Plugin::Bugfix
Status
Accepted
Close date
2007-02-22 14:05
Assigned to
 
Index: src/plugins/codecompletion/classbrowserbuilderthread.cpp
===================================================================
--- src/plugins/codecompletion/classbrowserbuilderthread.cpp    (revision 3614)
+++ src/plugins/codecompletion/classbrowserbuilderthread.cpp    (working copy)
@@ -104,10 +104,12 @@

         if (TestDestroy() || Manager::IsAppShuttingDown())
         {
+#ifdef __WXGTK__
             if(!::wxIsMainThread())
             {
                 ::wxMutexGuiLeave();
             }
+#endif // __WXGTK__
             break;
         }
stahta01 2007-02-18 04:34

When running C::B in debug it causes crashes. When running in normal release in causes lockups/freezes some of the time.

Tim S

stahta01 2007-02-18 04:40

When disabling the Code Completion plugin, the problems occur of crashes or lockups.