MCPcopy Index your code
hub / github.com/FlowiseAI/Flowise / stopProcess

Method stopProcess

packages/server/src/commands/start.ts:21–32  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19 }
20
21 async stopProcess() {
22 try {
23 logger.info(`Shutting down Flowise...`)
24 const serverApp = Server.getInstance()
25 if (serverApp) await serverApp.stopApp()
26 } catch (error) {
27 logger.error('There was an error shutting down Flowise...', error)
28 await this.failExit()
29 }
30
31 await this.gracefullyExit()
32 }
33}

Callers 1

onTerminateFunction · 0.45

Calls 2

stopAppMethod · 0.80
getInstanceMethod · 0.45

Tested by

no test coverage detected