When retrieving the color fram size during depth frame init, rather than throwing an exception in case of error and absorbing it a few lines later, I think it is better to simply check the error code, so that it's easier to release any acquired resource.
updated the "release sources" logic to be consistent with MultiSource, so that it is possible to release sources initialized with MultiSource by calling releaseMultiSource()
Just another PR to address a few issues:
releaseMultiSource()