You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am encountering a crash when closing a pywebview window in an application that integrates both Tkinter and webview on macOS. The issue arises when the user closes the webview window, causing the entire application to crash. After investigating the code, I believe this might be related to how the Tkinter and webview event loops interact on macOS, especially given that webview uses AppKit and NSApplication while Tkinter runs its own event loop. Any suggestions or fixes would be appreciated.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am encountering a crash when closing a pywebview window in an application that integrates both Tkinter and webview on macOS. The issue arises when the user closes the webview window, causing the entire application to crash. After investigating the code, I believe this might be related to how the Tkinter and webview event loops interact on macOS, especially given that webview uses AppKit and NSApplication while Tkinter runs its own event loop. Any suggestions or fixes would be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions