v2.1.4
Execute a function right before the process, or the browser's tab, is about to exit.
Source code on GitHub