![]() |
【转帖】numrefs and createdatabase
numrefs and createdatabase
numrefs and createdatabase hi, is this normal that numrefs is equal to 2 after a createdatabase? i'm using version 2.06.03 thanks yes, it is normal. (it will be destroyed, when reference count wil reach 1) also, any open dbro object has 2 references. vladimir when i release the db, the memory it's not freed, i thought that was the problem, but it should me something else. thanks if you store a smart pointer to oddbdatabase or some db object they will not be destoyed untill the smart pointer goes out of scope (destroyed) or assigned another value (null for example). after i release it, i assign null value to the variable. |
所有的时间均为北京时间。 现在的时间是 01:10 PM. |