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

Commit 50858e61 authored by Vishnu Nair's avatar Vishnu Nair
Browse files

Destroy transaction tracing from main thread

Fixes: 304996860
Test: presubmit
Change-Id: I3b11570fdb3ea5ba42124f23667be0dfd7d8af11
parent 3e69a659
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -7060,7 +7060,7 @@ status_t SurfaceFlinger::onTransact(uint32_t code, const Parcel& data, Parcel* r
                if (mTransactionTracing) {
                    int arg = data.readInt32();
                    if (arg == -1) {
                        mTransactionTracing.reset();
                        mScheduler->schedule([&]() { mTransactionTracing.reset(); }).get();
                    } else if (arg > 0) {
                        // Transaction tracing is always running but allow the user to temporarily
                        // increase the buffer when actively debugging.