mirror of
https://github.com/parchlinux/calamares.git
synced 2025-07-02 20:05:37 -04:00
Add already loaded check to ProcessJobModule
This commit is contained in:
parent
8d28a2ea5d
commit
1dca92947c
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue