2020-03-20 20:28:31 +00:00
|
|
|
import { IpcMainImpl } from '@electron/internal/browser/ipc-main-impl';
|
2016-01-12 02:40:23 +00:00
|
|
|
|
2020-03-20 20:28:31 +00:00
|
|
|
export const ipcMainInternal = new IpcMainImpl() as ElectronInternal.IpcMainInternal;
|
2016-07-24 12:08:25 +00:00
|
|
|
|
|
|
|
// Do not throw exception when channel name is "error".
|
2020-03-20 20:28:31 +00:00
|
|
|
ipcMainInternal.on('error', () => {});
|