Comment by ziofill

2 hours ago

Sounds very cool! What do you mean by “revert side effects it created”?

Anythign that needs to be cleaned up or undone goes in ctx.effect. It returns the "inverse" (the cleanup function) when the plugin loads. Cordis then stores it and runs it when the plugin unloads. Take a look at 5.1.1 in the paper.