Add support for deferred closer functions which are not methods by vanntile · Pull Request #33 · ryanrolds/sqlclosecheck (original) (raw)
As it has been outlined in #7 - some people need to do some checks whenever they close some statements. If these closer functions are deferred, sqlclosecheck marks the rows as not closed. The current PR fixes that mistake. Test included.
I have also renamed a test that was checking a method, but was actually named like it would have been checking a function.