fix double Deletion
avoid attempted double deletion, if two uUniLog streams use the same file stream
Merge request reports
Activity
assigned to @mbellgardt
By Jonathan Ehret on 2021-11-24T16:35:10 (imported from GitLab)
added 1 commit
- 8d539baa - Change File_Handle raw pointer to unique pointer to make ownership explicit
By Martin Bellgardt on 2021-12-09T12:46:00 (imported from GitLab)
I did not like your solution, so I changed the raw pointer to be a unique pointer, which should have the same effect. The issue should generally not happen, though. Is it possible that your application closes a
LogStream
without opening it first?By Martin Bellgardt on 2021-12-09T12:49:56 (imported from GitLab)
mentioned in commit d7257923
By Jonathan Ehret on 2022-01-10T12:22:49 (imported from GitLab)