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