usb: stop request thread before destroying request handler

Stop request thread first to make sure there is no pending tasks
when we destroy the request handler. Otherwise a request task
may run with request_handler_ being nullptr.

Also fix a line of log message.

BUG=None
TEST=No assertion fired on device close.

Change-Id: Ib9bbbef411e565b3475aa866d919eaf39e6e41cb
Reviewed-on: https://chromium-review.googlesource.com/465847
Commit-Ready: Ricky Liang <jcliang@chromium.org>
Tested-by: Ricky Liang <jcliang@chromium.org>
Reviewed-by: Heng-ruey Hsu <henryhsu@google.com>
1 file changed