kdelibs/khtml
George Staikos
staikos at kde.org
Mon Jun 23 20:43:59 CEST 2003
CVS commit by staikos:
why we did this.
CCMAIL: khtml-devel at kde.org
M +3 -0 khtml_part.cpp 1.864
--- kdelibs/khtml/khtml_part.cpp #1.863:1.864
@@ -1198,4 +1198,7 @@ void KHTMLPart::slotData( KIO::Job* kio_
//kdDebug( 6050 ) << "begin!" << endl;
+ // We must suspend KIO while we're inside begin() because it can cause
+ // crashes if a window (such as kjsdebugger) goes back into the event loop,
+ // more data arrives, and begin() gets called again (re-entered).
d->m_job->suspend();
begin( d->m_workingURL, d->m_extension->urlArgs().xOffset, d->m_extension->urlArgs().yOffset );
More information about the Khtml-devel
mailing list