Closed ValidationFailed closed 3 years ago
I just found out that there's a memory leak basically any time you work with the firestore (when inserting a document, getting a document, deleting a document).
Can you check FB4D-version 1.2.5.386. I made a correction for Delphi 10.4.2. The leak should be fixed.
Oh, I'm sorry, it seems like I've been behind for a few versions.. Sorry for wasting your time and thanks a lot for your reply!
Describe the bug When at least one instance of a FirestoreListener is being created during a programs lifetime, Delphi reports memory leaks when closing the program with the setting
ReportMemoryLeaksOnShutdown =: true
.To Reproduce Steps to reproduce the behavior:
edtCollectionIDForFSListener.Text := "/"
)Doing just that, a window pops up which reports a couple of memory leaks. The results of this issue are the same like it's been reported in #82 already. The difference is that the memory leaks don't occur when you don't stop the listener, but just close the program, which confirms the success of the fix for #82. :)
Screenshots Creating and stopping a listener, as shown in the following image: ... results in: ... while starting a listener and closing the program without stopping it doesn't result in any memory leaks.
Additional Info: