DarthMazut / MochaLibrary

Just another MVVM library which gives you some abstract classes out-of-the-box.
0 stars 0 forks source link

WindowModule cannot be reopened after being closed #32

Open DarthMazut opened 2 months ago

DarthMazut commented 2 months ago

Repro steps:

  1. Get new instance of WindowModule
  2. Open the window
  3. Close the window
  4. Try open it again

Actual: We are unable to reopen once closed window as _window.Content getter throws while trying to set its data context.

Expected: Client should be able to safely reopen once closed window.

But how to achieve it in such case?