----------------------------------------------------------------------------- Purpose: This function is called just before the driver is unloaded from vrserver. Drivers should free whatever resources they have acquired over the session here. Any calls to the server is guaranteed to be valid before this, but not after it has been called. -------------------------------------------------------------
| 90 | // Any calls to the server is guaranteed to be valid before this, but not after it has been called. |
| 91 | //----------------------------------------------------------------------------- |
| 92 | void MyDeviceProvider::Cleanup() |
| 93 | { |
| 94 | // Our controller devices will have already deactivated. Let's now destroy them. |
| 95 | my_hmd_device_ = nullptr; |
| 96 | } |
nothing calls this directly
no outgoing calls
no test coverage detected