nova: fix check in irq_session destruction

Issue #1456
This commit is contained in:
Alexander Boettcher 2015-04-27 10:35:37 +02:00 committed by Christian Helmuth
parent b7f2b92dbc
commit bc3ba380ae
1 changed files with 2 additions and 1 deletions

View File

@ -215,7 +215,8 @@ Irq_session_component::Irq_session_component(Range_allocator *irq_alloc,
Irq_session_component::~Irq_session_component()
{
if (_proxy) return;
if (!_proxy)
return;
if (_irq_sigh.valid())
_proxy->remove_sharer(&_irq_sigh);