Add request container lifecycle handling
This commit is contained in:
@@ -131,6 +131,9 @@ export class HTTPServer extends Unit {
|
||||
if ( extolloReq.response.canSend() ) {
|
||||
await extolloReq.response.send()
|
||||
}
|
||||
}).finally(() => {
|
||||
this.logging.verbose('Destroying request container...')
|
||||
extolloReq.destroy()
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user