Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 379bd473 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Reset statsd writer to init state after close"

parents 42a2e9eb 763e3aee
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -125,6 +125,7 @@ void note_log_drop() {


void stats_log_close() {
void stats_log_close() {
    statsd_writer_init_lock();
    statsd_writer_init_lock();
    write_to_statsd = __write_to_statsd_init;
    if (statsdLoggerWrite.close) {
    if (statsdLoggerWrite.close) {
        (*statsdLoggerWrite.close)();
        (*statsdLoggerWrite.close)();
    }
    }