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

Commit c02d05dc authored by Tom Cherry's avatar Tom Cherry Committed by Gerrit Code Review
Browse files

Merge "logd: improve logd prune"

parents f679c587 d3987a96
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -18,6 +18,7 @@
#define _LOGD_LOG_TIMES_H__

#include <pthread.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <time.h>

@@ -82,6 +83,8 @@ class LogTimeEntry {
    void cleanSkip_Locked(void);

    void release_Locked(void) {
        // gracefully shut down the socket.
        shutdown(mClient->getSocket(), SHUT_RDWR);
        mRelease = true;
        pthread_cond_signal(&threadTriggeredCondition);
    }