mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-08 09:08:48 +01:00
@@ -556,6 +556,16 @@ async fn serve_with_csa(
|
|||||||
match acquire_singleton(&paths.tunnel_lockfile()).await {
|
match acquire_singleton(&paths.tunnel_lockfile()).await {
|
||||||
Ok(SingletonConnection::Client(stream)) => {
|
Ok(SingletonConnection::Client(stream)) => {
|
||||||
debug!(log, "starting as client to singleton");
|
debug!(log, "starting as client to singleton");
|
||||||
|
if gateway_args.name.is_none()
|
||||||
|
|| !gateway_args.install_extension.is_empty()
|
||||||
|
|| gateway_args.tunnel.tunnel_id.is_some()
|
||||||
|
{
|
||||||
|
warning!(
|
||||||
|
log,
|
||||||
|
"Command-line options will not be applied until the existing tunnel exits."
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
let should_exit = start_singleton_client(SingletonClientArgs {
|
let should_exit = start_singleton_client(SingletonClientArgs {
|
||||||
log: log.clone(),
|
log: log.clone(),
|
||||||
shutdown: shutdown.clone(),
|
shutdown: shutdown.clone(),
|
||||||
|
|||||||
Reference in New Issue
Block a user