KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Is there a method that I can add to my module, which will get called when destructing the class? We have a simple class which has only static member functions and needs to clean up the database connection when unloading the module. Was hoping there would be a __del__ method either for modules or classes that don't have instances?
Tags (comma-separated)
Save Edits
Cancel