From f8d791df6488c8353d62f50cb46a5a41f3dc4b05 Mon Sep 17 00:00:00 2001 From: Adam Dunsmoor Date: Fri, 2 Oct 2020 11:26:17 -0500 Subject: [PATCH] Update README.md from experience in using the library in my own project --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 3b25672..c0e33bf 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,7 @@ const settings = { const IL = new InactivityLogout(settings); // make sure you cleanup the object when you are finished using it. +// `new` should be called on every login and `cleanup` on every logout, else `windowResetEvents` will not work // will not be garbage collected unless you clean it up because of the timers IL.cleanup() ```