EgtMachKernel 1.6f1 :
- aggiunta gestione DB utensili - aggiunta gestione DB lavorazioni.
This commit is contained in:
+6
-2
@@ -61,8 +61,12 @@ MachMgr::Clear( void)
|
||||
{
|
||||
// pulisco le macchine
|
||||
while ( ! m_vMachines.empty()) {
|
||||
if ( m_vMachines.back() != nullptr)
|
||||
delete m_vMachines.back() ;
|
||||
if ( m_vMachines.back().pMachine != nullptr)
|
||||
delete m_vMachines.back().pMachine ;
|
||||
if ( m_vMachines.back().pTsMgr != nullptr)
|
||||
delete m_vMachines.back().pTsMgr ;
|
||||
if ( m_vMachines.back().pMsMgr != nullptr)
|
||||
delete m_vMachines.back().pMsMgr ;
|
||||
m_vMachines.pop_back() ;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user