Message2625
Attached is a patch for:
http://sourceforge.net/tracker/index.php?func=detail&aid=448398&group_id=12867&atid=112867
and a test case that covers these situations:
1. Garbage collection/finalization close
2. Regular close
3. Shutdown time, close out open PyFiles
The patch is structured in way that allows finalization of PyFiles but also allows other mechanisms to close it down. The results I see are files being populated with their data. Which is especially important in situations 1 and 3.
The weak link is if the runtime security is configured so that shutdown hooks can't be added. But alas what else is there to attempt to shutdown? Ive stayed away from runFinalizationOnExit since it is deprecated and according to the documentation, unsafe.
leouser |
|
Date |
User |
Action |
Args |
2008-02-20 17:18:38 | admin | link | issue1637931 messages |
2008-02-20 17:18:38 | admin | create | |
|