Don HO
-
2014-12-24
- status: open --> accepted
- Priority: 5 --> 7
When saving buffers currently, the write event is reset manually before each return. This can be done automatically by wrapping the event handle in a small class which resets the event in its destructor. This improves readability and makes it impossible to return from the function without resetting the event.