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:
edde746
2026-07-05 14:16:05 +02:00
parent 173117602a
commit 7f81a0d4fd
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -242,8 +242,8 @@ packages:
dependency: "direct main"
description:
path: "packages/connectivity_plus/connectivity_plus"
ref: "2b614414ce95d920880765d07cbb9759699a4563"
resolved-ref: "2b614414ce95d920880765d07cbb9759699a4563"
ref: "4c0d4071150481f76d753c6ce1ff325bb959b9b5"
resolved-ref: "4c0d4071150481f76d753c6ce1ff325bb959b9b5"
url: "https://github.com/edde746/plus_plugins"
source: git
version: "7.1.1"
+1 -1
View File
@@ -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: