Skip to content

Commit 0c56ac4

Browse files
author
Stewart Miles
committed
Ignore editor DLLs with no file location.
When waiting for newly enabled editor DLLs to load, ignore all DLLs that do not have a file-system location. Fixes #353 Change-Id: I546aedbacb02b2a07352781865c5263304664909
1 parent 1f97013 commit 0c56ac4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

source/VersionHandlerImpl/src/VersionHandlerImpl.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2349,6 +2349,7 @@ private static bool EnabledEditorDllsLoaded {
23492349
get {
23502350
var loadedAssemblyPaths = new HashSet<string>();
23512351
foreach (var assembly in AppDomain.CurrentDomain.GetAssemblies()) {
2352+
if (String.IsNullOrEmpty(assembly.Location)) continue;
23522353
try {
23532354
var path = Path.GetFullPath(assembly.Location);
23542355
if (enabledEditorDlls.Contains(path)) {

0 commit comments

Comments
 (0)