question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

I do not see any documentation for handling a ‘destroy’ event.

Is there something like mongoStore.on('destroy', function(session){}) so that I can perform cleanup operations when this occurs?

Thanks! Rob

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:12

github_iconTop GitHub Comments

1reaction
rfossellacommented, May 13, 2019

astigmatism - thanks for your comment. Hopefully we can get a push for an update.

0reactions
stale[bot]commented, Aug 17, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Javascript object destroy event handler - Stack Overflow
Javascript does not have a destroy event. It is a garbage collected language and will free an object when there is no longer...
Read more >
Event Destroyed | Unreal Engine Documentation
Event Destroyed. Choose your operating system: Windows. macOS. Linux. Called when the actor has been explicitly destroyed. Target is Actor. Event Destroyed.
Read more >
Gtk.Widget::destroy-event
The ::destroy-event signal is emitted when a GdkWindow is destroyed. You rarely get this signal, because most widgets disconnect themselves from their ...
Read more >
destroy - DataTables
The destroy event is fired when a DataTable is torn down, to be replaced with an enhanced HTML table (or simply removed from...
Read more >
Use the $destroy event to solve memory leaks - Bam Tech
TL;DR: When your controller is destroyed, it emits $destroy . You can listen to this event and unbind variables, remove listeners, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found