Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 = {};
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was in the local context of the Query so a new one was creating for each instance 🦢


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