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

Commit e5751bc8 authored by Jorge Ruesga's avatar Jorge Ruesga
Browse files

CMFM: Fix race condition



Change-Id: I3ed0d38665b12aa39313c55f7daaa63bd80875a0
Signed-off-by: default avatarjruesga <jorge@ruesga.com>
parent 5b4a6b62
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -367,9 +367,6 @@ public abstract class AsyncResultProgram
                   synchronized (AsyncResultProgram.this.mSync) {
                       AsyncResultProgram.this.mSync.wait();
                       while (AsyncResultProgram.this.mPartialData.size() > 0) {
                           if (!this.mAlive) {
                               return;
                           }
                           Byte type = AsyncResultProgram.this.mPartialDataType.remove(0);
                           String data = AsyncResultProgram.this.mPartialData.remove(0);
                           try {