akorb / SteamShutdown

Automatic shutdown after Steam download(s) has finished.
MIT License
362 stars 28 forks source link

Crashes, as soon the download is finished #4

Closed boldt closed 7 years ago

boldt commented 8 years ago

Unfortunately. the tool (v1.4) crashes on Win10 as soon the download is finished.

Here is the `SteamShutdown_Log.txt:

Microsoft.CSharp.RuntimeBinder.RuntimeBinderException: Die Laufzeitbindung kann für einen NULL-Verweis nicht ausgeführt werden.
   bei CallSite.Target(Closure , CallSite , Object )
   bei System.Dynamic.UpdateDelegates.UpdateAndExecute1[T0,TRet](CallSite site, T0 arg0)
   bei SteamShutdown.Steam.<>c__DisplayClass11_0.<fsw_Changed>b__0(AppInfo x)
   bei System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
   bei SteamShutdown.Steam.fsw_Changed(Object sender, FileSystemEventArgs e)
   bei System.IO.FileSystemWatcher.OnChanged(FileSystemEventArgs e)
   bei System.IO.FileSystemWatcher.NotifyFileSystemEventArgs(Int32 action, String name)
   bei System.IO.FileSystemWatcher.CompletionStatusChanged(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* overlappedPointer)
   bei System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)
akorb commented 7 years ago

Thanks for your report. Please try again with v1.7: https://github.com/akorb/SteamShutdown/releases/tag/v1.7 I fixed several crashes there

boldt commented 7 years ago

I'll do and let you know

akorb commented 7 years ago

Sorry, I found one more bug. Please try 1.7.1 https://github.com/akorb/SteamShutdown/releases/tag/v1.7.1

akorb commented 7 years ago

Because of the redesign many things changed and I still wasn't able to reproduce this issue. If you still have this problem with the latest version (v2), please let me know.