osd.Dispose called with osd null.
You can run the script with debugger. It stops on exception at osd.Dispose, and in the Variables panel you can see osd=null.
Don't need Dispose here, because osd.Close just calls Dispose. You can press F12 and to see the source code.
You can run the script with debugger. It stops on exception at osd.Dispose, and in the Variables panel you can see osd=null.
Don't need Dispose here, because osd.Close just calls Dispose. You can press F12 and to see the source code.