[#wallet-WalletDatabase-m_refcount] = xref:wallet.adoc[wallet]::xref:wallet/WalletDatabase.adoc[WalletDatabase]::m_refcount :relfileprefix: ../../ :mrdocs: Counts the number of active database users to be sure that the database is not closed while someone is using it == Synopsis Declared in `<wallet/db.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::atomic<int> m_refcount = {0}; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#