Dll Detach function?

BlitzMax Forums/BlitzMax Programming/Dll Detach function?

Is there a way to declare the function that is called when dlls are detached? I would like to add a few commands in this.