mirror of
https://github.com/QL-Win/QuickLook.git
synced 2026-02-28 01:00:17 +08:00
Try to fix #196: use unique pip name for every user
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user