Execute code before shutdown

已回答

As part of my plugin, some data is being sent over http as the user types in editor. I would like to ensure, before intellij is shutdown, that the final update has been sent. What is the best way to go about doing this?

Thanks in advance,
Alex.

0

com.intellij.openapi.util.ShutDownTracker#registerShutdownTask

0

请先登录再写评论。