mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 10:06:24 +05:00
Would previously happen if memory profiling was already started. Now using os.File.Stat beforehand to check if a handler of the file is already active and confirm the status of profiling. This required changing the type of the reference fileCPU from io.Closer to *os.File. Asserting the type would have worked as well.