hapijs / hapijs/hapi

Reg onPostStop is not executing statements inside method

Open
#4,438 1 comment 0 reactions 0 assignees View on GitHub
support
Dominant language
JavaScript
Stars
14.8k
Forks
1.4k
Avg merge
22d 3h
Merged PRs (30d)
1

Description

#### Support plan

* *is this issue currently blocking your project?* (yes/no):no
* *is this issue affecting a production system?* (yes/no):no

#### Context

* *node 17.9.1*:
* *@hapi/hapi 20.2.1*:
* *node* (e.g. node, browser, native):
* *hapi* (e.g. hapi application, another framework, standalone, ...):
* *any other relevant information*:

#### How can we help?

```js
server.ext({
type: 'onPostStop',
method (request, reply) {
console.log('Application stopped');
},
});
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.