Tcl package Thread source code

Ticket Change Details
Login
Overview

Artifact ID: f0ba80bdfc0c832833a685062b2ce676391a83de
Ticket: 770add1891d9e8d817eaa0e8556b6e9566c507fa
Flushing of persistent storage + mem-leak fix
User & Date: sebres 2017-07-19 18:56:39
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-fossil-wiki"
  4. comment changed to:
    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 cnly 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].
    
  5. foundin changed to: "all"
  6. is_private changed to: "0"
  7. login: "sebres"
  8. priority changed to: "5 Medium"
  9. resolution changed to: "None"
  10. severity changed to: "Important"
  11. status changed to: "Open"
  12. submitter changed to: "sebres"
  13. subsystem changed to: "80. Thread Package"
  14. title changed to: "Flushing of persistent storage + mem-leak fix"
  15. type changed to: "Bug"