base: remove deinit_heartbeat_monitoring function

Issue #4940
This commit is contained in:
Norman Feske 2023-06-29 14:35:13 +02:00
parent f9bb7246ef
commit fa3f5edcc2
3 changed files with 0 additions and 12 deletions

View File

@ -19,5 +19,4 @@
void Genode::init_heartbeat_monitoring(Env &) { }
void Genode::deinit_heartbeat_monitoring() { }

View File

@ -47,7 +47,6 @@ namespace Genode {
void init_thread(Cpu_session &, Region_map &);
void init_thread_start(Capability<Pd_session>);
void init_thread_bootstrap(Cpu_session &, Thread_capability);
void deinit_heartbeat_monitoring();
void exec_static_constructors();
void cxx_demangle(char const*, char*, size_t);

View File

@ -59,13 +59,3 @@ void Genode::init_heartbeat_monitoring(Env &env)
_heartbeat_handler_ptr = unmanaged_singleton<Constructible<Heartbeat_handler>>();
_heartbeat_handler_ptr->construct(env);
}
void Genode::deinit_heartbeat_monitoring()
{
if (!_heartbeat_handler_ptr)
return;
_heartbeat_handler_ptr->destruct();
_heartbeat_handler_ptr = nullptr;
}