Skip to content

Crash on window focus loss or during basic operations on macOS (Intel i9) #1608

@rostyslav-horytskyi

Description

@rostyslav-horytskyi

Expected Behavior

The application should remain stable while performing operations or when losing window focus (switching to another app).

Current Behavior

The application crashes/closes unexpectedly. This happens either during basic script operations or immediately when the ScriptKit window loses focus (e.g., clicking on the desktop or another app).

Steps to Reproduce

  1. Launch ScriptKit.

  2. Trigger the main window

  3. Perform a script or simply click anywhere outside the ScriptKit window.

  4. The process terminates abruptly.

Possible Solution (Not obligatory)

It might be related to how the window focus/blur event is handled on Intel-based Macs with specific macOS versions, or a potential memory/thread issue on i9 processors.

Context

This makes the app unusable as I cannot switch between my editor and ScriptKit without the app crashing. I am trying to automate my workflow, but the constant crashes prevent any productive use.

Your Environment

  • Node version : 24.13.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions