Mar-19-2019, 02:10 AM
__del__ is not guaranteed to run, even when Python exits. If you need to do cleanup external to your program, you need to manage that manually.
Why doesn't gc delete an object without forcing a garbage collection call?
|
|
Messages In This Thread |
Why doesn't gc delete an object without forcing a garbage collection call? - by AlekseyPython - Mar-13-2019, 03:28 PM
RE: Why doesn't gc delete an object without forcing a garbage collection call? - by Larz60+ - Mar-13-2019, 05:43 PM
RE: Why doesn't gc delete an object without forcing a garbage collection call? - by AlekseyPython - Mar-14-2019, 05:01 AM
RE: Why doesn't gc delete an object without forcing a garbage collection call? - by Larz60+ - Mar-14-2019, 09:41 AM
RE: Why doesn't gc delete an object without forcing a garbage collection call? - by AlekseyPython - Mar-15-2019, 01:58 AM
RE: Why doesn't gc delete an object without forcing a garbage collection call? - by micseydel - Mar-19-2019, 02:10 AM
|