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

Unified Diff: device/usb/usb_context.cc

Issue 1165223004: Introduce the devices Mojo app (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: move mojo USB sources into devices_app to keep mojo dependencies separated from device/usb Created 5 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 | « device/usb/usb.gyp ('k') | mojo/application/public/cpp/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/usb/usb_context.cc
diff --git a/device/usb/usb_context.cc b/device/usb/usb_context.cc
index 7661469d294911994d8fb4b83332fb6fe267b2af..99b76ab34be140118378b95d126891e4db480709 100644
--- a/device/usb/usb_context.cc
+++ b/device/usb/usb_context.cc
@@ -63,6 +63,7 @@ void UsbContext::UsbEventHandler::ThreadMain() {
void UsbContext::UsbEventHandler::Stop() {
base::subtle::Release_Store(&running_, 0);
libusb_interrupt_handle_event(context_);
+ base::PlatformThread::Join(thread_handle_);
}
UsbContext::UsbContext(PlatformUsbContext context) : context_(context) {
« no previous file with comments | « device/usb/usb.gyp ('k') | mojo/application/public/cpp/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698