[Metal] Add missing GC.KeeAlive. (#9653)
Do it after the review comments on https://github.com/xamarin/xamarin-macios/pull/9651
This commit is contained in:
Родитель
7ec3751a10
Коммит
3e3111d44b
|
@ -29,6 +29,7 @@ namespace Metal {
|
|||
table.SetBuffers ((IntPtr) buffersPtr, (IntPtr) offsetsPtr, range);
|
||||
}
|
||||
}
|
||||
GC.KeepAlive (buffers);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче