Skip to content

Commit 9268166

Browse files
committed
Update AdapterInjection.cs
1 parent ce8a387 commit 9268166

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/AdapterInjection.cs

+1-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ private static void Initialize(ref IntPtr data, IntPtr rm)
2020
TryGetInstance(instanceID, out var instance); // We know it's not null since the ID is valid.
2121
data = GCHandle.ToIntPtr(GCHandle.Alloc(instanceID)); // Possible expansion of storing meta-data into the pointer too such as number of reloads, and the instance itself. Hashtable or something.
2222
instance.Pointer = data;
23-
// instance.API.Log(API.LogType.Debug, $"ID: {instanceID}");
2423
}
2524

2625
private static int InjectInstance(API meter)
@@ -160,7 +159,7 @@ private T ExceptionWrapper<T>(Func<T> func)
160159
}
161160
}
162161

163-
private void RaiseException(Exception e) => API?.Log(API.LogType.Error, $"Unhandled exception: {e}");
162+
private void RaiseException(Exception e) => API?.Log(API.LogType.Error, $"Unhandled Exception: {e}");
164163
private void ExceptionWrapper(ref double maxValue)
165164
{
166165
try

0 commit comments

Comments
 (0)