[Kst] [PATCH] thread exit

George Staikos staikos at kde.org
Fri Nov 12 16:43:14 CET 2004


I highly recommend this patch for 1.0.  An occasional crash or Qt message is 
better than a big pile of stale background processes using huge amounts of 
ram.

On Friday 12 November 2004 10:41, George Staikos wrote:
> CVS commit by staikos:
>
> seems to be the best solution for this broken environment
>
>
>   M +1 -1      kst.cpp   1.256.2.2
>
>
> --- kdeextragear-2/kst/kst/kst.cpp  #1.256.2.1:1.256.2.2
> @@ -228,5 +228,5 @@ KstApp::~KstApp() {
>      _updateThread->terminate();
>  #endif
> -    _updateThread->wait();
> +    _updateThread->wait(3000); // QThread object destroyed while thread
> running on RH 9, but freezes on exit without it.  ->terminate() crashes. 
> Can we win? #if 0
>    }
>
>
> _______________________________________________
> Kst mailing list
> Kst at kde.org
> https://mail.kde.org/mailman/listinfo/kst

-- 
George Staikos
KDE Developer				http://www.kde.org/
Staikos Computing Services Inc.		http://www.staikos.net/



More information about the Kst mailing list