Add already loaded check to ProcessJobModule
This commit is contained in:
parent
8d28a2ea5d
commit
1dca92947c
@ -45,10 +45,14 @@ ProcessJobModule::interface() const
|
||||
void
|
||||
ProcessJobModule::loadSelf()
|
||||
{
|
||||
if ( m_loaded )
|
||||
return;
|
||||
|
||||
Calamares::job_ptr j = Calamares::job_ptr( new ProcessJob( m_command,
|
||||
m_workingPath,
|
||||
m_secondsTimeout ) );
|
||||
JobQueue::instance()->enqueue( j );
|
||||
m_loaded = true;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user