Skip to content

[bug] tauri/wry leaking WebKitNetworkProcess processes #14626

@qu1ck

Description

@qu1ck

Describe the bug

When closing all windows of a tauri app WebKitNetworkProcess is left running.
This is after closing and opening main window of my app 4 times:

Image

Reproduction

Have the app destroy() and recreate the window a few times.

Expected behavior

Processes are cleaned up or at least reused when windows are closed/recreated.

Full tauri info output

[✔] Environment
    - OS: Debian 13.0.0 x86_64 (X64) (KDE on wayland)
    ✔ webkit2gtk-4.1: 2.50.1
    ✔ rsvg2: 2.60.0
    ✔ rustc: 1.91.1 (ed61e7d7e 2025-11-07)
    ✔ cargo: 1.91.1 (ea2d97820 2025-10-10)
    ✔ rustup: 1.28.2 (e4f3ad6f8 2025-04-28)
    ✔ Rust toolchain: stable-x86_64-unknown-linux-gnu (default)
    - node: 24.11.1
    - npm: 11.6.2

[-] Packages
    - tauri 🦀: 2.9.1, (outdated, latest: 2.9.4)
    - tauri-build 🦀: 2.5.1, (outdated, latest: 2.5.3)
    - wry 🦀: 0.53.5
    - tao 🦀: 0.34.5
    - @tauri-apps/api  ⱼₛ: 2.9.0 (outdated, latest: 2.9.1)
    - @tauri-apps/cli  ⱼₛ: 2.9.1 (outdated, latest: 2.9.5)

[-] Plugins
    - tauri-plugin-notification 🦀: 2.3.1, (outdated, latest: 2.3.3)
    - @tauri-apps/plugin-notification  ⱼₛ: 2.3.1 (outdated, latest: 2.3.3)
    - tauri-plugin-shell 🦀: 2.3.1, (outdated, latest: 2.3.3)
    - @tauri-apps/plugin-shell  ⱼₛ: 2.3.1 (outdated, latest: 2.3.3)
    - tauri-plugin-clipboard-manager 🦀: 2.3.0, (outdated, latest: 2.3.2)
    - @tauri-apps/plugin-clipboard-manager  ⱼₛ: 2.3.0 (outdated, latest: 2.3.2)
    - tauri-plugin-dialog 🦀: 2.4.0, (outdated, latest: 2.4.2)
    - @tauri-apps/plugin-dialog  ⱼₛ: 2.4.0 (outdated, latest: 2.4.2)
    - tauri-plugin-cli 🦀: 2.4.0, (outdated, latest: 2.4.1)
    - @tauri-apps/plugin-cli  ⱼₛ: 2.4.0 (outdated, latest: 2.4.1)
    - tauri-plugin-fs 🦀: 2.4.2, (outdated, latest: 2.4.4)
    - @tauri-apps/plugin-fs  ⱼₛ: 2.4.2 (outdated, latest: 2.4.4)

[-] App
    - build-type: bundle
    - CSP: unset
    - frontendDist: ../dist
    - devUrl: http://localhost:8080/
    - framework: React
    - bundler: Webpack

Stack trace

N/A

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: needs triageThis issue needs to triage, applied to new issuesstatus: upstreamThis issue is blocked by upstream dependencies and we need to wait or contribute upstream fixestype: bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions