Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Only You Can Prevent Pathwatcher Leaks #262

Merged
merged 9 commits into from
Sep 20, 2017
Merged

Conversation

smashwilson
Copy link
Contributor

In the course of getting a clean test run for atom/atom#15681, I noticed that TextBuffer was leaking pathwatcher handles when TextBuffer.load() and TextBuffer.loadSync() fail in certain cases.

To catch these, I've added a leak warning to the afterEach() function in the test suite and patched up a bunch of other (much more innocuous) leaks in the test suite.

@smashwilson smashwilson merged commit 601403e into master Sep 20, 2017
@smashwilson smashwilson deleted the aw-plug-the-leak branch September 20, 2017 14:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant