samedhi / firemore

Firebase + Clojure -> Firemore
https://firemore.org/
MIT License
19 stars 3 forks source link

Not unsubscribing can cause errors in the code? #62

Open samedhi opened 4 years ago

samedhi commented 4 years ago

More than just memory leaks, failing to unsubscribe can actually effect other listeners. Try removing the unsubscribe from the check-for-reference-in-metadata and observe that it will cause later listener's (like those in hydrator) to fail.

Failing to unsubscribe should be a memory leak, but I don't feel that it should cause actual changes in result sets.