validate: fix crash if timeout when media_descriptor is None
authorGuillaume Desmottes <guillaume.desmottes@collabora.com>
Mon, 17 Dec 2018 09:34:43 +0000 (10:34 +0100)
committerGuillaume Desmottes <guillaume.desmottes@collabora.com>
Mon, 17 Dec 2018 09:34:43 +0000 (10:34 +0100)
commitb1f22e71308168f000555503d0abd9b8ea1daf60
tree1d394c696a88a17d12a5a9e1ff10e8caf12ac77d
parent9a04ba50000b57fb109fbd4d4176d7b506024b26
validate: fix crash if timeout when media_descriptor is None

Some tests may not have any media_descriptor. If those were failing to
shutdown after EOS we were calling get_protocol() on None.
validate/launcher/baseclasses.py