public static void Cleanup() { if (viewModelStatic != null) { viewModelStatic.Cleanup(); } kinectService.Cleanup(); sourceService.Cleanup(); boardService.Cleanup(); helpService.Cleanup(); }