I tried to subscribe to real time changes when any document in my database changes,but for some reason the function keeps on running,even when I have deleted the code.
TL;DR
The user was having issues with real subscriptions, where the code for subscribing to real-time changes was continuously running even after being deleted. The issue was solved by restarting the IDE and closing the app.