mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-11 18:34:58 +01:00
BugFix: give time to Save on exit and stop recordings on Quit
This commit is contained in:
@@ -602,6 +602,14 @@ void Session::unlock()
|
||||
access_.unlock();
|
||||
}
|
||||
|
||||
bool Session::locked()
|
||||
{
|
||||
bool l = access_.try_lock();
|
||||
if (l)
|
||||
access_.unlock();
|
||||
return !l;
|
||||
}
|
||||
|
||||
void Session::validate (SourceList &sources)
|
||||
{
|
||||
// verify that all sources given are valid in the sesion
|
||||
|
||||
Reference in New Issue
Block a user