WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
151387
[WinCairo][MediaFoundation] The main thread can sometimes be blocked forever when ending a media session.
https://bugs.webkit.org/show_bug.cgi?id=151387
Summary
[WinCairo][MediaFoundation] The main thread can sometimes be blocked forever ...
peavo
Reported
2015-11-18 07:29:24 PST
This happens because the main thread is waiting for the sample scheduler thread to finish, but sometimes it never does. This can be resolved by emptying the scheduler's sample queue before requesting the scheduler thread to finish. This will make sure the scheduler thread returns to it's main loop quickly, and can handle the termination request.
Attachments
Patch
(2.19 KB, patch)
2015-11-18 07:38 PST
,
peavo
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
peavo
Comment 1
2015-11-18 07:38:12 PST
Created
attachment 265745
[details]
Patch
WebKit Commit Bot
Comment 2
2015-11-18 10:25:02 PST
Comment on
attachment 265745
[details]
Patch Clearing flags on attachment: 265745 Committed
r192578
: <
http://trac.webkit.org/changeset/192578
>
WebKit Commit Bot
Comment 3
2015-11-18 10:25:04 PST
All reviewed patches have been landed. Closing bug.
peavo
Comment 4
2015-11-18 10:29:13 PST
Thanks for reviewing!
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug