mirror of
https://github.com/Myxelium/Bridge-Multi.git
synced 2026-04-11 14:19:38 +00:00
Replace Database connection with web server API
This commit is contained in:
@@ -5,7 +5,6 @@ import * as url from 'url'
|
||||
|
||||
// IPC Handlers
|
||||
import { getIPCInvokeHandlers, getIPCEmitHandlers, IPCEmitEvents } from './shared/IPCHandler'
|
||||
import Database from './shared/Database'
|
||||
import { getSettingsHandler } from './ipc/SettingsHandler.ipc'
|
||||
import { dataPath } from './shared/Paths'
|
||||
|
||||
@@ -86,7 +85,6 @@ function createBridgeWindow() {
|
||||
}
|
||||
|
||||
mainWindow.on('closed', () => {
|
||||
Database.closeConnection()
|
||||
mainWindow = null // Dereference mainWindow when the window is closed
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user