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

Unified Diff: remoting/protocol/rtcp_writer.cc

Issue 7218061: Close all writers before JingleSession is destroyed. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix tests Created 9 years, 6 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 | « remoting/protocol/rtcp_writer.h ('k') | remoting/protocol/rtp_video_reader_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/rtcp_writer.cc
diff --git a/remoting/protocol/rtcp_writer.cc b/remoting/protocol/rtcp_writer.cc
index 1996665c983a61a2f28bef759bfe2bf7e5fcc14d..5ccf74801332a175b12d93f2c6465422c82decb3 100644
--- a/remoting/protocol/rtcp_writer.cc
+++ b/remoting/protocol/rtcp_writer.cc
@@ -16,7 +16,12 @@ namespace protocol {
RtcpWriter::RtcpWriter() {
}
-RtcpWriter::~RtcpWriter() { }
+RtcpWriter::~RtcpWriter() {
+}
+
+void RtcpWriter::Close() {
+ buffered_rtcp_writer_->Close();
+}
// Initializes the writer. Must be called on the thread the sockets
// belong to.
« no previous file with comments | « remoting/protocol/rtcp_writer.h ('k') | remoting/protocol/rtp_video_reader_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698