platform/shared/api_generator/BaseClasses.h in rhodes-6.0.11 vs platform/shared/api_generator/BaseClasses.h in rhodes-6.2.0

- old
+ new

@@ -47,10 +47,13 @@ virtual void addCommandToQueue(rho::common::CInstanceClassFunctorBase<CMethodResult>* pFunctor) { if ( !m_pCommandQueue ) { m_pCommandQueue = new CGeneratorQueue(); + #if defined(OS_WINDOWS_DESKTOP) || defined(RHODES_EMULATOR) + m_pCommandQueue->setPollInterval(1); + #endif m_pCommandQueue->setLogCategory(getModuleLogCategory()); m_pCommandQueue->start(rho::common::CThreadQueue::epLow); } m_pCommandQueue->addQueueCommand( createQueueCommand(pFunctor) ); @@ -125,6 +128,6 @@ void callSetter( ModuleClass* pModule, const rho::String& strArg, CMethodResult& oResult){ m_pSetter->call( pModule, strArg, oResult); } bool hasSetter()const{ return m_pSetter != 0; } }; } -} \ No newline at end of file +}