wipe out all loaded plugins before destroying the LAMMPS instance
This commit is contained in:
@ -911,6 +911,10 @@ void LAMMPS::init()
|
||||
|
||||
void LAMMPS::destroy()
|
||||
{
|
||||
// must wipe out all plugins first, if configured
|
||||
#if defined(LMP_PLUGIN)
|
||||
input->one("plugin clear");
|
||||
#endif
|
||||
delete update;
|
||||
update = nullptr;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user