fix(windows): retry connectivity listener registration outside input-sync calls
INetworkListManagerEvents Advise fails with RPC_E_CANTCALLOUT_ININPUTSYNCCALL when the platform thread is inside an input-synchronous call at subscribe time, and an OnListen error can only surface in Dart as an uncatchable fatal FlutterError. The fork now retries the registration via a message-loop timer and reports only persistent failures through the event sink, where stream onError handlers observe them.
This commit is contained in:
+1
-1
@@ -30,7 +30,7 @@ dependencies:
|
||||
connectivity_plus:
|
||||
git:
|
||||
url: https://github.com/edde746/plus_plugins
|
||||
ref: 2b614414ce95d920880765d07cbb9759699a4563
|
||||
ref: 4c0d4071150481f76d753c6ce1ff325bb959b9b5
|
||||
path: packages/connectivity_plus/connectivity_plus
|
||||
os_media_controls:
|
||||
git:
|
||||
|
||||
Reference in New Issue
Block a user