git-svn-id: svn://db.shs.com.ru/pip@756 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5

This commit is contained in:
2019-02-18 18:30:51 +00:00
parent 0af7eabf56
commit 217947cc89
16 changed files with 296 additions and 217 deletions

View File

@@ -136,7 +136,8 @@ PICout::~PICout() {
if (fc_) applyFormat(PICoutManipulators::Default);
if (cc_) return;
newLine();
PICout::__mutex__().unlock();
if ((co_ & NoLock) != NoLock)
PICout::__mutex__().unlock();
if (buffer_)
((NotifierObject*)Notifier::object())->finished(id_, buffer_);
}
@@ -427,7 +428,8 @@ void PICout::init() {
#endif
buffer_ = 0;
id_ = 0;
PICout::__mutex__().lock();
if ((co_ & NoLock) != NoLock)
PICout::__mutex__().lock();
}