<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:adachan@apple.com" title="Ada Chan <adachan@apple.com>"> <span class="fn">Ada Chan</span></a>
</span> changed
<a class="bz_bug_link
bz_status_ASSIGNED "
title="ASSIGNED - -[AVPlayerItem currentTime] and -[AVPlayer isExternalPlaybackActive] deadlock"
href="https://bugs.webkit.org/show_bug.cgi?id=147085">bug 147085</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>NEW
</td>
<td>ASSIGNED
</td>
</tr>
<tr>
<td style="text-align:right;">Assignee</td>
<td>webkit-unassigned@lists.webkit.org
</td>
<td>adachan@apple.com
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_ASSIGNED "
title="ASSIGNED - -[AVPlayerItem currentTime] and -[AVPlayer isExternalPlaybackActive] deadlock"
href="https://bugs.webkit.org/show_bug.cgi?id=147085#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_ASSIGNED "
title="ASSIGNED - -[AVPlayerItem currentTime] and -[AVPlayer isExternalPlaybackActive] deadlock"
href="https://bugs.webkit.org/show_bug.cgi?id=147085">bug 147085</a>
from <span class="vcard"><a class="email" href="mailto:adachan@apple.com" title="Ada Chan <adachan@apple.com>"> <span class="fn">Ada Chan</span></a>
</span></b>
<pre>Eric Carlson suggested this change:
void AudioContext::isPlayingAudioDidChange()
{
- document()->updateIsPlayingMedia();
+ RefPtr<AudioContext> strongThis(this);
+ callOnMainThread([strongThis] {
+ strongThis->document()->updateIsPlayingMedia();
+ });
}
I could reproduce this deadlock before this change, and could not reproduce the deadlock anymore after this change.
Posting a patch very soon.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>