Skip to content

Commit b8f66c4

Browse files
committed
Use NewGuid
1 parent 035d6c8 commit b8f66c4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Packages/UnityWebBrowser/Runtime/Core/Engines/Process/WindowProcess.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public WindowProcess()
2121
{
2222
//Job handle code from SO
2323
//https://stackoverflow.com/questions/3342941/kill-child-process-when-parent-process-is-killed
24-
string jobName = "UWBChildProcesses" + new Guid().ToString("N");
24+
string jobName = "UWBChildProcesses" + Guid.NewGuid().ToString("N");
2525
jobHandle = CreateJobObject(IntPtr.Zero, jobName);
2626

2727
JOBOBJECT_BASIC_LIMIT_INFORMATION info = new()

0 commit comments

Comments
 (0)