Split DiskDevice constructor in 2 parts
In the constructor only variable initialization is performed. This is needed because the constructor is executed before the DiskDevice instance is appended to the device list, and if something fails there, then the resources may be cleaned up in an incorrect order.
Loading
Please register or sign in to comment