Add Close() function to IPlayback to fully close the driver (and block till done)

This commit is contained in:
Flamefire committed 2014-03-23 13:00:59 +01:00
1 parent af941e2ecc
commit 6a51e63be4
9 files changed
+103 -30

No files matched your search

+1
View File
@@ -268,6 +268,7 @@ namespace Vocaluxe
CDraw.Unload();
CDataBase.Close();
CWebcam.Close();
GC.Collect(); // Do a GC run here before we close logs to have finalizers run
CLog.CloseAll();
}
catch (Exception) {}