added detachLogger method

This commit is contained in:
SrGooglo 2024-04-02 22:13:22 +02:00
parent faed0d8754
commit f313a7340f

View File

@ -130,10 +130,14 @@ export default class CoreAdapter {
window.webContents.send("logger:new", {
timestamp: new Date().getTime(),
message: "Core adapter Logger attached",
message: "Core adapter attached...",
})
}
detachLogger = () => {
this.loggerWindow = null
}
initialize = async () => {
if (this.initialized) {
return