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

Commit 857a861c authored by Anton Hansson's avatar Anton Hansson Committed by android-build-merger
Browse files

Merge "Close /dev/fuse FD before calling onClosed" into qt-dev

am: b6d9fbdd

Change-Id: I9cf86c3206cfbbcc2bed84809e5cb7aa454156bd
parents 67033059 b6d9fbdd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -354,8 +354,8 @@ bool FuseBridgeLoop::ProcessEventLocked(const std::unordered_set<FuseBridgeEntry
        }
        if (entry->IsClosing()) {
            const int mount_id = entry->mount_id();
            callback->OnClosed(mount_id);
            bridges_.erase(mount_id);
            callback->OnClosed(mount_id);
            if (bridges_.size() == 0) {
                // All bridges are now closed.
                return false;