Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: Object has been destroyed #228

Open
greenozon opened this issue Jul 2, 2022 · 2 comments
Open

TypeError: Object has been destroyed #228

greenozon opened this issue Jul 2, 2022 · 2 comments

Comments

@greenozon
Copy link

I"m getting these errors very often when closing the app
ver 1.0.6
Ubuntu Linux

2022-06-30T05:02:39.033Z | HTTP | https://vebeng.ru/ | 409
2022-06-30T05:02:39.056Z | HTTP | https://www.novatek.ru/en/search/index.php?source_id_4=1&sortby_4=&q_4=ru&search_page_4=1001&te_object_id_4=&items_per_page_4=10&date_from_4=&date_to_4= | 404
2022-06-30T05:02:39.058Z | HTTP | https://faspo.arbitr.ru/ | 403
2022-06-30T05:02:39.096Z | HTTP | https://forbusiness.roscongress.org/ | DOWN OR BLOCKED
TypeError: Object has been destroyed
    at EventEmitter.<anonymous> (/tmp/.mount_UA-CybBevnbC/resources/app.asar/electron-main.js:34:12631)
    at EventEmitter.emit (node:events:390:28)
    at Ot.emit (/tmp/.mount_UA-CybBevnbC/resources/app.asar/electron-main.js:1:45367)
    at EventEmitter.<anonymous> (/tmp/.mount_UA-CybBevnbC/resources/app.asar/electron-main.js:1:45684)
    at EventEmitter.emit (node:events:390:28)
    at St.<anonymous> (/tmp/.mount_UA-CybBevnbC/resources/app.asar/electron-main.js:1:45040)
    at Generator.next (<anonymous>)
    at i (/tmp/.mount_UA-CybBevnbC/resources/app.asar/electron-main.js:1:44067)
    at runMicrotasks (<anonymous>)
    at runNextTicks (node:internal/process/task_queues:61:5)
2022-06-30T05:02:39.105Z | HTTP | https://vebeng.ru/ | 409
@opengs
Copy link
Owner

opengs commented Jul 3, 2022

This is a race condition while closing the window. The DDoS engine sends a message about new attack -> at the same time someone closes the window -> the program tries to send a message to the closed window. Its safe :) So let it be the lowest priority, I don't know how to fix this at the moment.

@okineadev
Copy link
Contributor

This is a race condition while closing the window. The DDoS engine sends a message about new attack -> at the same time someone closes the window -> the program tries to send a message to the closed window. Its safe :) So let it be the lowest priority, I don't know how to fix this at the moment.

Рішення всіх проблем -> try{...}catch{}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants