Bugzilla – Attachment 64540 Details for
Bug 47368
Many crashes when accessibility enabled on MacOS X
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
prototype patch for testing ...
fix-crash-test.diff (text/plain), 784 bytes, created by
Michael Meeks
on 2012-07-23 13:11:09 UTC
(
hide
)
Description:
prototype patch for testing ...
Filename:
MIME Type:
Creator:
Michael Meeks
Created:
2012-07-23 13:11:09 UTC
Size:
784 bytes
patch
obsolete
>diff --git a/vcl/source/app/vclevent.cxx b/vcl/source/app/vclevent.cxx >index 613a659..5a6fb7c 100644 >--- a/vcl/source/app/vclevent.cxx >+++ b/vcl/source/app/vclevent.cxx >@@ -69,7 +69,13 @@ void VclEventListeners::Call( VclSimpleEvent* pEvent ) const > ImplDelData aDel( pWinEvent->GetWindow() ); > while ( aIter != aCopy.end() && ! aDel.IsDead() ) > { >- (*aIter).Call( pEvent ); >+ Link &rLink = *aIter; >+ if( std::find(m_aListeners.begin(), m_aListeners.end(), rLink) != m_aListeners.end() ) >+ { // listener removed while we're iterating >+ fprintf (stderr, "Bang - we would have died\n"); >+ } else { >+ rLink.Call( pEvent ); >+ } > aIter++; > } > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 47368
:
58540
|
64540
|
64623
|
66880
|
66904
|
66907
|
67635