--- strk <[EMAIL PROTECTED]> skrev:
> On Tue, May 29, 2007 at 11:41:27PM +0000, Tomas Groth wrote:
>
> > LoadThread::~LoadThread()
> > {
> > // stop the download thread if it's still runnning
> > - completed();
> > +#ifdef THREADED_LOADS
> > + boost::mutex::scoped_lock lock(_mutex);
> > + if ( _completed && _thread.get() )
> > + {
> > + _thread->join();
> > + _thread.reset(NULL);
> > + }
> > +#endif
> > if (_cache) delete[] _cache;
> > }
>
> So, if ! _completed the thread won't be joined ?
>
> --strk;
>
Too much copy/paste too late and too tired :(
Fixed (I hope).
cheers,
Tomas
_______________________________________________
Gnash-commit mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnash-commit