`Copy as png` will close any plugin

Hi everyone. Recently a bug really annoying me. Copy as png shortcut will close any plugin. I’ve communicated with Figma support and they said:

it’s as expected. We shut down any running plugin before any export action such as “Copy as a PNG” to allow it to work properly.

But i still think it’s a bug or at least not a good experience.