mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#5100 Regression Test : Guard timer for holo lens if no session in running
This commit is contained in:
parent
a3691d0dd8
commit
f1b57f3920
@ -19,6 +19,8 @@
|
||||
#include "RicExportToSharingServerScheduler.h"
|
||||
|
||||
#include "RicHoloLensAutoExportToSharingServerFeature.h"
|
||||
#include "RicHoloLensSession.h"
|
||||
#include "RicHoloLensSessionManager.h"
|
||||
|
||||
#include "cafCmdFeatureManager.h"
|
||||
#include "cafProgressState.h"
|
||||
@ -41,7 +43,11 @@ RicExportToSharingServerScheduler* RicExportToSharingServerScheduler::instance()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RicExportToSharingServerScheduler::scheduleUpdateSession()
|
||||
{
|
||||
startTimer( 0 );
|
||||
RicHoloLensSession* session = RicHoloLensSessionManager::instance()->session();
|
||||
if ( session && session->isSessionValid() )
|
||||
{
|
||||
startTimer( 0 );
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user