/[chrome]
Chromium logo

Revision 126884


Jump to revision: Previous Next
Author: jochen@chromium.org
Date: Thu Mar 15 10:43:22 2012 UTC (2 years, 1 month ago)
Changed paths: 4
Log Message:
Make sure ports are closed when they're no longer used.

It appears to be a common pattern that extensions don't invoke the
responseCallback, and so the port objects leak. Register a callback that
triggers when the responseCallback is finalized to free up these resources.

BUG=114738, 93566
TEST=manual

Review URL: http://codereview.chromium.org/9693048

Changed paths:

Path Details
Directorytrunk/src/chrome/common/extensions/docs/messaging.html modified , text changed , props changed
Directorytrunk/src/chrome/common/extensions/docs/static/messaging.html modified , text changed , props changed
Directorytrunk/src/chrome/renderer/extensions/miscellaneous_bindings.cc modified , text changed
Directorytrunk/src/chrome/renderer/resources/extensions/miscellaneous_bindings.js modified , text changed

Powered by ViewVC 1.1.5 ViewVC Help