Skip to content

Commit 74e4ed1

Browse files
committed
Update index.ts
1 parent 998b9c6 commit 74e4ed1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/plugins/local-services/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ export default ({ type = DEFAULT_TYPE, register = [] }: LocalServicePluginOption
106106
},
107107
quit: async function () {
108108
const { browser, bonjour } = this
109+
if (!bonjour) return console.log("CAllED TWICE")
109110
await new Promise(resolve => bonjour.unpublishAll(() => resolve(true)))
110111
if (browser) browser.stop()
111112
if (bonjour) bonjour.destroy()

0 commit comments

Comments
 (0)