mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-09 04:15:52 +00:00
Switch off regulators when closing session
This commit is contained in:
parent
717e4dd362
commit
acc24b5905
@ -46,7 +46,11 @@ class Regulator::Session_component : public Regulator::Session_rpc_object
|
||||
/**
|
||||
* Destructor
|
||||
*/
|
||||
~Session_component() { _driver_factory.destroy(_driver); }
|
||||
~Session_component()
|
||||
{
|
||||
_driver.state(_id, false);
|
||||
_driver_factory.destroy(_driver);
|
||||
}
|
||||
|
||||
|
||||
/***********************************
|
||||
|
Loading…
x
Reference in New Issue
Block a user