Skip to content

Glossary: Real-Time Apps with WebSockets

Memory leak

Memory a program keeps but never uses again, so it keeps growing. Forgetting to call `off` for closed streams leaves listeners behind and causes one.

Where the book teaches it

Related terms

EventEmitter