Objects that need to be kept alive are typically owned in libmirserver not by downstream projects.
It seems to me that the right fix is in Mir. Mir should own the ExternalInputDeviceHub by attaching it to mir::DisplayServer::Private, or something that this owns.
Objects that need to be kept alive are typically owned in libmirserver not by downstream projects.
It seems to me that the right fix is in Mir. Mir should own the ExternalInputDe viceHub by attaching it to mir::DisplaySer ver::Private, or something that this owns.