Realm node package has "cycle" warnings

Chrome debugger outputs the following warning that appears to cause circular references and possible memory leaks.

Require cycle: node_modules/realm/lib/browser/util.js -> node_modules/realm/lib/browser/rpc.js -> node_modules/realm/lib/browser/util.js

Require cycles are allowed, but can result in uninitialized values. Consider refactoring to remove the need for a cycle.

@Michael_Stelly If you have a reproduction case and steps which result in a memory leaks please file an issue on GitHub - realm/realm-js: Realm is a mobile database: an alternative to SQLite & key-value stores and we will take a look

1 Like