mono/xwt — pull request #45 by linquize (2012-03-12 13:27:46+00:00)
Title: Fix WPF must run on UI Thread, GC may run on new thread and call Dispose

GC may sometimes run on new thread and call Dispose(). Do not call Backend property getter in Dispose() because XwtComponent will load if not yet, so WPF fails on other thread. You can assume XwtComponent class dispose the Backend so subclasses don't need to override and dispose the Backend.