The patch looks good to me, we now need someone to integrate and test it!

Thanks,

Sascha

On 08/25/2015 05:47 PM, Rostislav Khlebnikov wrote:
Changing it to a weak pointer indeed helped.
Attached is a patch if you're interested :)

Rostislav.

On 25/08/2015 16:37, Rostislav Khlebnikov wrote:
Hi guys,

I experience a crash upon simply opening and closing my application.
The crash occurs in berryWorkbenchSourceProvider.cpp at line 596.
Seems like the actual window has been already destroyed and focus
changes to the log window, thus the crash.
I think that similarly to the lastActiveWorkbenchWindow, lastActiveShell
and lastActiveWorkbenchWindowShell should be also WeakPointers.

What do you think?

Rostislav.


------------------------------------------------------------------------------
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users



------------------------------------------------------------------------------


_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

------------------------------------------------------------------------------
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to