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

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

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

* commit 'd08fb687':
  Fix a race condition that could cause lockup
parents 81b5d555 d08fb687
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -248,11 +248,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();