Skip to content

Commit

Permalink
fix(database,web): fix an issue that would remove duplicate streams i…
Browse files Browse the repository at this point in the history
…n Debug mode (#13253)
  • Loading branch information
Lyokone authored Sep 3, 2024
1 parent c70d498 commit 2546971
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

part of '../firebase_database_web.dart';

final Map<String, int> _streamHashCodeMap = {};

/// An implementation of [QueryPlatform] which proxies calls to js objects
class QueryWeb extends QueryPlatform {
final DatabasePlatform _database;
Expand Down Expand Up @@ -64,8 +66,6 @@ class QueryWeb extends QueryPlatform {
return instance;
}

final Map<String, int> _streamHashCodeMap = {};

@override
String get path {
final refPath = Uri.parse(_queryDelegate.ref.toString()).path;
Expand Down

0 comments on commit 2546971

Please sign in to comment.