git-svn-id: svn://db.shs.com.ru/libs@110 a8b55f48-bf90-11e4-a774-851b48703e85

This commit is contained in:
2016-08-01 11:46:05 +00:00
parent 71cfb447ce
commit bf7c678313
3 changed files with 9 additions and 4 deletions

View File

@@ -67,7 +67,7 @@ __Core_Initializer__::__Core_Initializer__() {
__Core_Initializer__::~__Core_Initializer__() {
count_--;
if (count_ > 1) return;
if (count_ > 0) return;
//piCout << "delete PIInit";
if (__instance__ != 0) {
delete __instance__;
@@ -136,6 +136,7 @@ void Core::k_update(PIIODevice * d) {
K_KeepNamesRequest(&kn);
}
uk.update(k_, kn);
piCout << k_.count() << uk.count();
k_ = uk;
}