Overview
| Artifact ID: | 797103f561c6df7a042b953eab937edbb87aa8c1 |
|---|---|
| Ticket: | 992108ffffffffffffffffffffffffffffffffff
TclFinalizeLock on Unix not correct. |
| User & Date: | vasiljevic on 2004-07-17 04:00:39 |
Changes
- icomment:
Logged In: YES user_id=95086 I understand your (symetric) reasoning very well. But... Let us forget memory leaks at this place and think little bit differently... Say, you were to destroy static mutexes on Tcl_Finalize(), that is, on unload of Tcl library, and then load the same Tcl library *again* in the same process space. What is going to happen when you try to access one of those mutexes (which is absolutely certain, per-se) again? Hm? Therefore, I recommend you not to touch them, really. Just let them live their static life. Besides, there is absolutely no issue with memory leaks here. Those are just part of the process memory and will be reclaimed when the process exits. HTH
- login: "vasiljevic"
- mimetype: "text/plain"
- username: "vasiljevic"