Delete the disk device manager when done. This is not only good practice, but also allows the manager to unpublish all partitions.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3512 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2003-06-14 00:13:06 +00:00
parent e5e5ddc13a
commit 5e56ad436e

View File

@ -17,6 +17,7 @@ main()
KDiskDeviceManager::CreateDefault();
KDiskDeviceManager *manager = KDiskDeviceManager::Default();
manager->InitialDeviceScan();
KDiskDeviceManager::DeleteDefault();
return 0;
}