intel_fb: prevent destruction of session singleton

Issue #2588
This commit is contained in:
Christian Helmuth 2018-02-05 16:41:24 +01:00 committed by Norman Feske
parent 28f7568e82
commit bb9d15b8b9
1 changed files with 3 additions and 1 deletions

View File

@ -189,9 +189,11 @@ struct Framebuffer::Root
{
Session_component session; /* single session */
Session_component *_create_session(const char *args) override {
Session_component *_create_session(const char *) override {
return &session; }
void _destroy_session(Session_component *) override { }
Root(Genode::Env &env, Genode::Allocator &alloc,
Genode::Attached_rom_dataspace &config)
: Genode::Root_component<Session_component,