When you want to end your stereoscopic session, or your application, call zsShutdown(). The following is a partial code example, with error handling omitted. Refer to the Basic Stereo sample application for a more robust example.
// Shutdown and cleanup the zSpace SDK. zsShutdown(g_zSpaceContext);