Commit 2cc80ce
authored
GraphicsResourceStrategy.Dispose() (#2334)
similar to #1559
prevents InvalidOperationException when setting WeakReference.Target to
null and the target is allready sceduled for collection.
fixes the issue with GUM editor
vchelaru/Gum#7491 parent 7182fc1 commit 2cc80ce
File tree
1 file changed
+5
-1
lines changed- src/Xna.Framework.Graphics/Graphics
1 file changed
+5
-1
lines changedLines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
38 | 42 | | |
39 | 43 | | |
40 | 44 | | |
| |||
0 commit comments