|
This is a request to implement an Unloading event in LayoutManager. The issue that this is intended to resolve is in providing a best, last chance place to do a SaveLayout. This is better than using LayoutUpdate event which is too noisy. It's also better than hooking a MainWindow event in that MainWindow and LayoutManager are not so closely related -- better to perform LayoutManager operations within LayoutManager events. |
|
Version 2010.06.13 adds an Unloading event to the ILayoutManager interface. It actually gets called when the main window is closing, since AvalonDock didn't provide an unloading event. |
|
Unloading event works great, thanks. Since changing, I haven't seen this mysterious, transient RCW race condition error message. I'm now thinking it was caused by calling SaveLayout in LayoutUpdate. It hasn't reappeared since moving SaveLayout into Unloading. |