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

Commit 9e5f4af1 authored by John Reck's avatar John Reck Committed by Android Git Automerger
Browse files

am 11f9da31: am bdb2a905: am d08fb687: am e5783e58: am 2abf0f24: Fix a race...

am 11f9da31: am bdb2a905: am d08fb687: am e5783e58: am 2abf0f24: Fix a race condition that could cause lockup

* commit '11f9da31':
  Fix a race condition that could cause lockup
parents e8e79221 11f9da31
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -246,11 +246,6 @@ void Caches::clearGarbage() {
void Caches::flush(FlushMode mode) {
    FLUSH_LOGD("Flushing caches (mode %d)", mode);

    // We must stop tasks before clearing caches
    if (mode > kFlushMode_Layers) {
        tasks.stop();
    }

    switch (mode) {
        case kFlushMode_Full:
            textureCache.clear();