Bug 1219403 - Account for the fact that MediaStream::Destroy can be run safely

on the main thread during shutdown.

--HG--
extra : rebase_source : e1d3b8bc0f97a885d289b6abfb493238222fcba7
This commit is contained in:
Paul Adenot 2015-11-05 11:10:22 +01:00
Родитель aff7976c5a
Коммит 10f8308a5d
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -2417,7 +2417,7 @@ MediaInputPort::Init()
void
MediaInputPort::Disconnect()
{
MOZ_ASSERT(GraphImpl()->CurrentDriver()->OnThread());
MOZ_ASSERT(GraphImpl()->AssertOnGraphThreadOrNotRunning());
NS_ASSERTION(!mSource == !mDest,
"mSource must either both be null or both non-null");
if (!mSource)