[VFS] Clear registered devices if launch failed

This commit is contained in:
Adrian
2024-05-23 23:31:04 +01:00
committed by Radosław Gliński
parent ff692589c7
commit a688f87f55
3 changed files with 8 additions and 0 deletions

View File

@@ -28,6 +28,8 @@ class VirtualFileSystem {
VirtualFileSystem();
~VirtualFileSystem();
void Clear();
bool RegisterDevice(std::unique_ptr<Device> device);
bool UnregisterDevice(const std::string_view path);