Home » Questions » Does System->Release need to be called.
After calling EventSystem::getDeviceObject
Does the System returned by the call need to be released with System->Release() ?
Yes, that is correct. All the objects that need to be released are made from create* functions.
No, the EventSystem will clean up the low level System object when you call EventSystem::release.
I Assume this applies to all Get type calls. I.E. The get calls do not increment a reference counter for each get, and hence do not need a release for each get.
Please login first to submit.
Copyright 2017 FIRELIGHT TECHNOLOGIES PTY LTD. All RIGHTS RESERVED.