Skip to content

Dispose the presenter before the view#24

Open
Therzok wants to merge 1 commit intoademanuele:masterfrom
Therzok:patch-1
Open

Dispose the presenter before the view#24
Therzok wants to merge 1 commit intoademanuele:masterfrom
Therzok:patch-1

Conversation

@Therzok
Copy link

@Therzok Therzok commented Feb 14, 2023

This should ensure that the presenter doesn't access anything from the view that would access deallocated memory.

Xamarin.Mac's Dispose releases the native handle, which might cause the native memory to be deallocated

This should ensure that the presenter doesn't access anything from the view that would access deallocated memory.

Xamarin.Mac's Dispose `release`s the native handle, which might cause the native memory to be deallocated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant