altmp / altv-issues

Issues and roadmap for alt:V project
93 stars 16 forks source link

[JS] Problem destroying WebView elements with CEF 127 #2384

Open RysonTV opened 2 days ago

RysonTV commented 2 days ago

Description of the problem

When i try to destroy a created WebView the CEF seems to crash completly with the .destroy() function. Even the client console is not available anymore. Game just closes by task manager. Login is builded in Vue 3 / Vuetify 3

https://prnt.sc/akPabWFCJxyb

Reproduction steps

https://prnt.sc/akPabWFCJxyb -> create a webview and destroy it after some time.

Expected behaviour

The login window should close normally and all other subsequent WebViews should still work or be able to load.

Additional context

no Errors in Client log.

Operating system

Windows 10 Home

Version

16.2.25-rc.13

Crashdump ID

No response

Confirmation of issue's presence

RysonTV commented 1 day ago

I temporarily could fix the problem by adding an alt.setTimeout with 1000 between unfocus and destroy of the webview. Furthermore, the command "quit" in the client console causes the client to hang and does not close it.