Raynos / level-write-stream

A writeStream implementation for leveldb
MIT License
12 stars 2 forks source link

Only add _drain listeners when necessary #4

Closed paulkernfeld closed 8 years ago

paulkernfeld commented 8 years ago

This should help with issue #3

paulkernfeld commented 8 years ago

Oops, this doesn't actually solve the problem. Because end-stream always specifies a callback when it calls the write method, this if statement always evaluates to true.