Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix memory leak in socket-pouch server
Fixes #32 Address memory leak in socket-pouch server. * Add `detectMemoryLeaks` function to log memory usage. * Add `cleanupMemoryLeaks` function to clean up memory leaks using garbage collection. * Modify `createSocketServer` function to include memory leak detection. * Modify `socketEvents` function to include memory leak cleanup on socket close and error events.
- Loading branch information