jsreport / jsreport-core

The minimalist jsreport rendering core
GNU Lesser General Public License v3.0
85 stars 24 forks source link

Kill jsreport #24

Closed pofider closed 6 years ago

pofider commented 6 years ago

There should be high level API for killing jsreport and cleaning all resources.

jsreport.kill()

This should fire new listeners and every extension can do the cleanup work. Like close web server or stop chokidar.

pofider commented 6 years ago

I've add the reporter.close and closeListeners.

This will be part of the v2 release.