<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) > [puppeteer](./puppeteer.md) > [Connection](./puppeteer.connection.md) > [\_onClose](./puppeteer.connection._onclose.md) ## Connection.\_onClose() method <b>Signature:</b> ```typescript _onClose(): void; ``` <b>Returns:</b> void