nvdrv: fix container destruction order

This commit is contained in:
Liam 2022-10-23 19:25:57 -04:00
parent 99cefb62fd
commit e9da7b43d5
2 changed files with 4 additions and 4 deletions

View file

@ -97,6 +97,9 @@ private:
friend class EventInterface;
friend class Service::NVFlinger::NVFlinger;
/// Manages syncpoints on the host
NvCore::Container container;
/// Id to use for the next open file descriptor.
DeviceFD next_fd = 1;
@ -108,9 +111,6 @@ private:
EventInterface events_interface;
/// Manages syncpoints on the host
NvCore::Container container;
std::unordered_map<std::string, std::function<FilesContainerType::iterator(DeviceFD)>> builders;
};