File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
src/vs/code/electron-main Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -702,6 +702,15 @@ export class CodeWindow extends Disposable implements ICodeWindow {
702
702
config . userEnv = { ...currentUserEnv , ...config . userEnv } ; // still allow to override certain environment as passed in
703
703
}
704
704
705
+ // If named pipe was instantiated for the crashpad_handler process, reuse the same
706
+ // pipe for new app instances connecting to the original app instance.
707
+ // Ref: https://github.com/microsoft/vscode/issues/115874
708
+ if ( process . env [ 'CHROME_CRASHPAD_PIPE_NAME' ] ) {
709
+ Object . assign ( config . userEnv , {
710
+ CHROME_CRASHPAD_PIPE_NAME : process . env [ 'CHROME_CRASHPAD_PIPE_NAME' ]
711
+ } ) ;
712
+ }
713
+
705
714
// If this is the first time the window is loaded, we associate the paths
706
715
// directly with the window because we assume the loading will just work
707
716
if ( this . _readyState === ReadyState . NONE ) {
You can’t perform that action at this time.
0 commit comments