mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-04 04:04:38 +02:00
added debug destructor to persist thread
This commit is contained in:
parent
edcda16cc7
commit
ce6af9ecb8
2 changed files with 5 additions and 0 deletions
|
@ -23,6 +23,10 @@ OctreePersistThread::OctreePersistThread(Octree* tree, const QString& filename,
|
|||
{
|
||||
}
|
||||
|
||||
OctreePersistThread::~OctreePersistThread() {
|
||||
qDebug() << "OctreePersistThread::~OctreePersistThread()...";
|
||||
}
|
||||
|
||||
bool OctreePersistThread::process() {
|
||||
|
||||
if (!_initialLoadComplete) {
|
||||
|
|
|
@ -22,6 +22,7 @@ public:
|
|||
static const int DEFAULT_PERSIST_INTERVAL = 1000 * 30; // every 30 seconds
|
||||
|
||||
OctreePersistThread(Octree* tree, const QString& filename, int persistInterval = DEFAULT_PERSIST_INTERVAL);
|
||||
~OctreePersistThread();
|
||||
|
||||
bool isInitialLoadComplete() const { return _initialLoadComplete; }
|
||||
quint64 getLoadElapsedTime() const { return _loadTimeUSecs; }
|
||||
|
|
Loading…
Reference in a new issue