This repository was archived by the owner on Oct 25, 2024. It is now read-only.
Commit adad03d
authored
logging: use static stream in LogToFileRotate (#718)
We initialized the stream to write to in LogToFileRotate() but
it got deinitialized on the exit from the scope while its
reference remained in the logging which causes a crash on the
first write. That's a quick fix. More appropriately would be
to change webrtc function prototype for it to accept stream
for the ref count increment.
Signed-off-by: Dmitry Rogozhkin <dmitry.v.rogozhkin@intel.com>1 parent 84ab28f commit adad03d
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
0 commit comments