Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2487)

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/media/router/cast/CastMessageHandler.java

Issue 1831483003: [Android,Cast] Move session cleanup outside of the loop. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/src/org/chromium/chrome/browser/media/router/cast/CastMessageHandler.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/media/router/cast/CastMessageHandler.java b/chrome/android/java/src/org/chromium/chrome/browser/media/router/cast/CastMessageHandler.java
index 5f99933b35ffd07aeb3a427cd1f2479ea9699e9a..57acb95f16046f5804e838d8ba80105708f88ca7 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/media/router/cast/CastMessageHandler.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/media/router/cast/CastMessageHandler.java
@@ -417,8 +417,8 @@ public class CastMessageHandler {
clientId, "remove_session", mSession.getSessionId(), sequenceNumber);
}
mStopRequests.remove(clientId);
- mSession = null;
}
+ mSession = null;
}
/**
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698