Ticket UUID: | 770add1891d9e8d817eaa0e8556b6e9566c507fa | |||
Title: | Flushing of persistent storage + mem-leak fix | |||
Type: | Bug | Version: | all | |
Submitter: | sebres | Created on: | 2017-07-19 18:56:39 | |
Subsystem: | 80. Thread Package | Assigned To: | nobody | |
Priority: | 7 High | Severity: | Important | |
Status: | Closed | Last Modified: | 2017-11-23 16:00:12 | |
Resolution: | Fixed | Closed By: | sebres | |
Closed on: | 2017-11-23 16:00:12 | |||
Description: |
I was wondering that if tcl application properly exits (calling all exit-handlers, etc.), then all still bound persistent storages are flushed (together with arrays, by implicit delete of all arrays in SvFinalize). IMHO this is a bug, because I believe the name "persistent storage" means persistent. But ATM only if "unbound" called before exit, it does not occur. Fixed within [c00a271dae] now. Additionally this resolves a memory leak by "tsv::array unbound" (especially annoying if bound/unbound switching often). See check-in [c00a271dae] for more info. BTW. I've created still one branch with possibility to compile with lmdb handler for windows, see [31d323157d]. | |||
User Comments: |
sebres added on 2017-11-23 16:00:12:
Merged now. sebres added on 2017-11-08 09:38:30: Any objections? If not, I'll merge in the comming week. |