Skip to content

Commit 35b1a0b

Browse files
authored
just make the ding dang buffer bigger
Closes #684
1 parent aaec357 commit 35b1a0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Squirrel/Utility.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -783,7 +783,7 @@ static unsafe class UnsafeUtility
783783
public static List<Tuple<string, int>> EnumerateProcesses()
784784
{
785785
int bytesReturned = 0;
786-
var pids = new int[2048];
786+
var pids = new int[16384];
787787

788788
fixed(int* p = pids) {
789789
if (!NativeMethods.EnumProcesses((IntPtr)p, sizeof(int) * pids.Length, out bytesReturned)) {

0 commit comments

Comments
 (0)