1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 20:42:21 +02:00

Added object access check to delegate invocation

This commit is contained in:
Brian Fiete 2024-10-23 10:36:27 -04:00
parent 5a0aa8a95b
commit 65ee34e37b
8 changed files with 89 additions and 10 deletions

View file

@ -23,11 +23,11 @@ ValuePointer = "/*(mMethodId < 0) ? &this :*/ __cast(\"_BF_DeferredData_\", mMet
Name = "System.Event<*>"
DisplayString = "{{ data={__cast(\"System.Object\", mData & sDataMask)} }}"
[[Type.Expand.Item]]
Name = "[target]"
Name = "[Target]"
Value = "__cast(\"System.Object\", mData)"
Condition = "(mData & sIsEnumerating) == 0"
[[Type.Expand.Item]]
Name = "[target]"
Name = "[Target]"
Value = "((System.Event<$T1>.Enumerator*)(mData & sDataMask)).mTarget"
Condition = "(mData & sIsEnumerating) != 0"
[[Type.Expand.Item]]

View file

@ -90,6 +90,11 @@ namespace IDE.ui
SetScaleData();
}
public ~this()
{
IDEApp.sApp.mDebugger.mBreakpointsChangedDelegate.Remove(scope => BreakpointsChanged, true);
}
void SetScaleData()
{
mListView.mIconX = GS!(4);