Skip to content
代码片段 群组 项目
提交 302c1b57 编辑于 作者: Paddy Xu's avatar Paddy Xu
浏览文件

Try to fix #196: use unique pip name for every user

上级 031f667c
No related branches found
No related tags found
无相关合并请求
......@@ -19,6 +19,7 @@ using System;
using System.Diagnostics;
using System.IO;
using System.IO.Pipes;
using System.Security.Principal;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Threading;
......@@ -39,7 +40,7 @@ namespace QuickLook
internal class PipeServerManager : IDisposable
{
private const string PipeName = "QuickLook.App.Pipe";
private static readonly string PipeName = "QuickLook.App.Pipe." + WindowsIdentity.GetCurrent().User?.Value;
private static PipeServerManager _instance;
private DispatcherOperation _lastOperation;
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册