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

Unified Diff: chrome/gpu/gpu_channel.cc

Issue 4979005: Gpu: Unregister channel name in the gpu process when a channel closes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comments Created 10 years, 1 month 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/gpu/gpu_channel.cc
diff --git a/chrome/gpu/gpu_channel.cc b/chrome/gpu/gpu_channel.cc
index d5525ed0d3230f920979a07ed1a991e1c6c8cefa..35b530ea93303d041b4a20dbd9040e3273651289 100644
--- a/chrome/gpu/gpu_channel.cc
+++ b/chrome/gpu/gpu_channel.cc
@@ -35,6 +35,8 @@ GpuChannel::GpuChannel(int renderer_id)
GpuChannel::~GpuChannel() {
#if defined(OS_POSIX)
+ IPC::RemoveAndCloseChannelSocket(GetChannelName());
+
// If we still have the renderer FD, close it.
if (renderer_fd_ != -1) {
close(renderer_fd_);
« 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