-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[Windows] Connectivity changed on throws an exception and sometimes crashes the app #7393
Copy link
Copy link
Closed
Labels
area-essentialsEssentials: Device, Display, Connectivity, Secure Storage, Sensors, App InfoEssentials: Device, Display, Connectivity, Secure Storage, Sensors, App InfohighIt doesn't work at all, crashes or has a big impact.It doesn't work at all, crashes or has a big impact.platform/windowss/needs-infoIssue needs more info from the authorIssue needs more info from the authors/no-recent-activityIssue has had no recent activityIssue has had no recent activitys/triagedIssue has been reviewedIssue has been revieweds/try-latest-versionPlease try to reproduce the potential issue on the latest public versionPlease try to reproduce the potential issue on the latest public versiont/bugSomething isn't workingSomething isn't working
Milestone
Metadata
Metadata
Assignees
Labels
area-essentialsEssentials: Device, Display, Connectivity, Secure Storage, Sensors, App InfoEssentials: Device, Display, Connectivity, Secure Storage, Sensors, App InfohighIt doesn't work at all, crashes or has a big impact.It doesn't work at all, crashes or has a big impact.platform/windowss/needs-infoIssue needs more info from the authorIssue needs more info from the authors/no-recent-activityIssue has had no recent activityIssue has had no recent activitys/triagedIssue has been reviewedIssue has been revieweds/try-latest-versionPlease try to reproduce the potential issue on the latest public versionPlease try to reproduce the potential issue on the latest public versiont/bugSomething isn't workingSomething isn't working
Type
Fields
Give feedbackNo fields configured for issues without a type.
Description
When I switch between airplane mode and non-airplane mode in the train (train wifi is available) first ConnectivityChanged works well.
Every subsequent change of the connectivity throws this exception:
Also, when this happens, the
Connectivity.ConnectivityChangedevent handler is usually (not regularly) not hit again (I print current connection status in this event handler).Sometimes, the app crashes with this exception and sometimes it does not. The application crashes when ConnectivityChanged eventhandler is executed. The application however sometimes still crashes without entering the event handler at all.
There is no issue on Android.
Steps to Reproduce
MAUI Blazor app Debug mode
Version with bug
Release Candidate 3 (current)
Last version that worked well
RC 2 I think
Affected platforms
Windows
Affected platform versions
Windows 10 21H1
Did you find any workaround?
no
Relevant log output
No response