这是indexloc提供的服务,不要输入任何密码
Skip to content

App doesn't close after LayoutAnchorable AutoHide and docking it again #194

@Algorithman

Description

@Algorithman

I have a weird issue (not exactly sure if it is rooted in avalondock or maybe a combination of avalondock and Metro?):

I have a prism app, with MahApp.Metro and Avalondock.
The Modules are loaded as Layoutanchorables, since they are different plugins of the app.

Now to my problem:

If i dock a plugin seperately (so i have 2 panes), autohide it and pull it into a separate window afterwards, the app doesn't ever close. The window itself closes, but the app runs 5 threads, which never complete.

Steps to reproduce:

  1. Dock one to the upper (or lower) part of the window, so you have 2 panes
  2. Autohide one of them
  3. Pull one out of autohide so it is a separate window
    At this point something goes wrong. When i close my app, it never stops running and always has this kind of threads running:

Threads

2 Monitor.Wait, 2 GetMessageW and one WaitOneNoCheck. I can't pull any Callstacks for these, nor do i know which part of the code started them.

Also docking this window again doesn't solve it.

I tried to reproduce it with the TestApp, but had no luck.
Does anyone have a clue where i can look?

Regards

Algorithman

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions