mendicant-original / newman

Newman: a microframework for building email-based applications.
116 stars 11 forks source link

Application#trigger_callbacks should not modify callbacks hash #23

Closed practicingruby closed 12 years ago

practicingruby commented 12 years ago

Currently a key called :match_data is being added to each callback each time call is run, but this is leaving state lingering around after a request is completed that is no longer relevant. It'd be possible to make this stateless.