Irrelon / ForerunnerDB

A JavaScript database with mongo-like query language, data-binding support, runs in browsers and hybrid mobile apps as a client-side DB or on the server via Node.js!
http://www.irrelon.com
721 stars 72 forks source link

Dropping condition does not remove memory reference #244

Open urossmerdelj opened 6 years ago

urossmerdelj commented 6 years ago

When dropping DB collection trigger/condition it does not actually remove it from the list of conditions and thus not releasing its memory reference.

It's a simple typo of condition._dataSource.when instead of condition._dataSource._when.

image