Codeusa / Borderless-Gaming

Play your favorite games in a borderless window; no more time consuming alt-tabs.
GNU General Public License v2.0
5.5k stars 476 forks source link

crash : close game with alt+f4 #641

Closed ddjoker closed 8 months ago

ddjoker commented 8 months ago

Requirements

Summary

crash : close game with alt+f4

Steps to reproduce

  1. run program with startup .
  2. add game to favorites
  3. run game and then alt+f4 close it .
  4. sometimes the progame will be crash

Technical details

+   Process with an Id of 14752 is not running.       ArgumentExceptionP     at BorderlessGaming.Logic.Windows.Native.QueryProcessesWithWindows(Action`1 callback, List`1 windowPtrSet) in C:\borderless-gaming\BorderlessGaming\Logic\Windows\Native.cs:line 443
   at BorderlessGaming.Logic.Core.ProcessWatcher.UpdateProcesses()
   at BorderlessGaming.Logic.Core.ProcessWatcher.Watch() in C:\borderless-gaming\BorderlessGaming\Logic\Core\ProcessWatcher.cs:line 59
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_1(Object `state)`
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()

version

Borderless Gaming 10.0-preview

andrewmd5 commented 8 months ago

Thank you for the report - can you confirm if this issue still exist in RC.1 which was released last night?

ddjoker commented 8 months ago

+   Process with an Id of 20340 is not running.       ArgumentException?     at BorderlessGaming.Logic.Windows.Native.QueryProcessesWithWindows(Action`1 callback, List`1 windowPtrSet) in \\Mac\Home\projects\Borderless-Gaming\BorderlessGaming\Logic\Windows\Native.cs:line 443
   at BorderlessGaming.Logic.Core.ProcessWatcher.UpdateProcesses() in \\Mac\Home\projects\Borderless-Gaming\BorderlessGaming\Logic\Core\ProcessWatcher.cs:line 204
   at BorderlessGaming.Logic.Core.ProcessWatcher.Watch() in \\Mac\Home\projects\Borderless-Gaming\BorderlessGaming\Logic\Core\ProcessWatcher.cs:line 59
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_1(Object state)
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
andrewmd5 commented 8 months ago

+   Process with an Id of 20340 is not running.    �   ArgumentException?     at BorderlessGaming.Logic.Windows.Native.QueryProcessesWithWindows(Action`1 callback, List`1 windowPtrSet) in \\Mac\Home\projects\Borderless-Gaming\BorderlessGaming\Logic\Windows\Native.cs:line 443
   at BorderlessGaming.Logic.Core.ProcessWatcher.UpdateProcesses() in \\Mac\Home\projects\Borderless-Gaming\BorderlessGaming\Logic\Core\ProcessWatcher.cs:line 204
   at BorderlessGaming.Logic.Core.ProcessWatcher.Watch() in \\Mac\Home\projects\Borderless-Gaming\BorderlessGaming\Logic\Core\ProcessWatcher.cs:line 59
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_1(Object state)
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()

Is this on 10.0-RC.1?

ddjoker commented 8 months ago

+   Process with an Id of 20340 is not running.    �   ArgumentException?     at BorderlessGaming.Logic.Windows.Native.QueryProcessesWithWindows(Action`1 callback, List`1 windowPtrSet) in \\Mac\Home\projects\Borderless-Gaming\BorderlessGaming\Logic\Windows\Native.cs:line 443
   at BorderlessGaming.Logic.Core.ProcessWatcher.UpdateProcesses() in \\Mac\Home\projects\Borderless-Gaming\BorderlessGaming\Logic\Core\ProcessWatcher.cs:line 204
   at BorderlessGaming.Logic.Core.ProcessWatcher.Watch() in \\Mac\Home\projects\Borderless-Gaming\BorderlessGaming\Logic\Core\ProcessWatcher.cs:line 59
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_1(Object state)
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()

Is this on 10.0-RC.1?

yes

andrewmd5 commented 8 months ago

fixed, will be available in the next release.

ddjoker commented 8 months ago

tks