Skip to content

Commit 7ac11de

Browse files
committed
fix realtime last url
1 parent f42e707 commit 7ac11de

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

templates/flutter/lib/src/realtime_mixin.dart.twig

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ mixin RealtimeMixin {
2121
GetFallbackCookie? getFallbackCookie;
2222

2323
Future<dynamic> _closeConnection() async {
24-
return await _websok?.sink.close(normalClosure);
24+
await _websok?.sink.close(normalClosure);
25+
_lastUrl = null;
2526
}
2627

2728
_createSocket() async {

0 commit comments

Comments
 (0)