Microsoft/vscode

macOS: Crash when using `fs.watch` for network drives

オープン

#106,879 opened on 2020/09/16

 (21 件のコメント) (3 件のリアクション) (1 人の担当者)TypeScript (39,847 件のフォーク)batch import
bugconfirmedfile-iofile-watcherfreeze-slow-crash-leakhelp wantedmacosnodejsupstreamupstream-issue-pending

Repository metrics

Stars
 (184,936 個のスター)
PR merge metrics
 (PR metrics pending)

説明

On MacOS 10.15 when a file is open from an SMB share if connection t othe SMB share is lost the entire editor crashes.

To repro: Open finder and Connect to Server open a file from the mapped SMB drive in VS Code disconnect the network return to VS Code VS Code crashes

Expected behavior would be 'file no longer exists' or something similar

コントリビューターガイド