mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-26 00:48:22 -04:00
[partition] Remove artificial delay
- The sleep(3) was meant as a debugging aid for the multi-threaded part of requirements checking.
This commit is contained in:
parent
0ad115732e
commit
fbb513eee3
1 changed files with 3 additions and 5 deletions
|
@ -668,13 +668,12 @@ PartitionViewStep::jobs() const
|
||||||
return m_core->jobs();
|
return m_core->jobs();
|
||||||
}
|
}
|
||||||
|
|
||||||
Calamares::RequirementsList PartitionViewStep::checkRequirements()
|
Calamares::RequirementsList
|
||||||
|
PartitionViewStep::checkRequirements()
|
||||||
{
|
{
|
||||||
if (m_future)
|
if ( m_future )
|
||||||
m_future->waitForFinished();
|
m_future->waitForFinished();
|
||||||
|
|
||||||
sleep(3);
|
|
||||||
|
|
||||||
Calamares::RequirementsList l;
|
Calamares::RequirementsList l;
|
||||||
l.append(
|
l.append(
|
||||||
{
|
{
|
||||||
|
@ -686,7 +685,6 @@ Calamares::RequirementsList PartitionViewStep::checkRequirements()
|
||||||
} );
|
} );
|
||||||
|
|
||||||
return l;
|
return l;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue