WP7: Navigation Frame Adapter never closes screens?

Topics: Bugs, Framework Services
Feb 17, 2013 at 4:40 PM
Edited Feb 17, 2013 at 4:43 PM
I am not sure if I am understanding the code correctly, or if it gets overridden somewhere, but in the INavigationService.cs frame adapter for WP71, you're calling CanCloseOnNavigating which always returns false.

Won't this cause Caliburn to keep any screens open even when the user navigates away? I'm seeing that behavior when I call NavigationService.GoBack().

Maybe I'm misunderstanding what "closed" means. To me it means totally gone, ready to be GC'd. Is that not the case? Don't I want to do that on WP apps?

Mainly, I'm trying to figure out the best place to clean up event handlers that are added on OnInitialize so I thought I'd remove them when close is true during OnDeactivate but I'm never seeing it be true.