mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-25 08:28:22 -04:00
[libcalamares] Enforce singleton-ness of CalamaresPython::Helper
- unset instance pointer on destruction - make constructor private, and the instance accessor should create an instance if there isn't one.
This commit is contained in:
parent
86b899566e
commit
abc6914528
4 changed files with 8 additions and 7 deletions
|
@ -41,9 +41,6 @@ public:
|
|||
, m_queue( queue )
|
||||
, m_jobIndex( 0 )
|
||||
{
|
||||
#ifdef WITH_PYTHON
|
||||
new CalamaresPython::Helper( this );
|
||||
#endif
|
||||
}
|
||||
|
||||
void setJobs( const JobList& jobs )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue