mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 20:42:56 +01:00
Switch off regulators when closing session
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
/***********************************
|
||||
|
||||
Reference in New Issue
Block a user