mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2024-12-25 06:05:46 +03:00
Pinned some more delegates
This commit is contained in:
parent
e2ef2b0bf7
commit
7913ccd171
@ -71,9 +71,9 @@ void InstallVTable()
|
|||||||
ThisVTable.InternalRulesFailedToRespond db = ( _ ) => InternalOnRulesFailedToRespond();
|
ThisVTable.InternalRulesFailedToRespond db = ( _ ) => InternalOnRulesFailedToRespond();
|
||||||
ThisVTable.InternalRulesRefreshComplete dc = ( _ ) => InternalOnRulesRefreshComplete();
|
ThisVTable.InternalRulesRefreshComplete dc = ( _ ) => InternalOnRulesRefreshComplete();
|
||||||
|
|
||||||
RulesRespondPin = GCHandle.Alloc( da );
|
RulesRespondPin = GCHandle.Alloc( da, GCHandleType.Pinned );
|
||||||
FailedRespondPin = GCHandle.Alloc( db );
|
FailedRespondPin = GCHandle.Alloc( db, GCHandleType.Pinned );
|
||||||
CompletePin = GCHandle.Alloc( dc );
|
CompletePin = GCHandle.Alloc( dc, GCHandleType.Pinned );
|
||||||
|
|
||||||
var t = new ThisVTable()
|
var t = new ThisVTable()
|
||||||
{
|
{
|
||||||
@ -93,9 +93,9 @@ void InstallVTable()
|
|||||||
StdVTable.InternalRulesFailedToRespond db = InternalOnRulesFailedToRespond;
|
StdVTable.InternalRulesFailedToRespond db = InternalOnRulesFailedToRespond;
|
||||||
StdVTable.InternalRulesRefreshComplete dc = InternalOnRulesRefreshComplete;
|
StdVTable.InternalRulesRefreshComplete dc = InternalOnRulesRefreshComplete;
|
||||||
|
|
||||||
RulesRespondPin = GCHandle.Alloc( da );
|
RulesRespondPin = GCHandle.Alloc( da, GCHandleType.Pinned );
|
||||||
FailedRespondPin = GCHandle.Alloc( db );
|
FailedRespondPin = GCHandle.Alloc( db, GCHandleType.Pinned );
|
||||||
CompletePin = GCHandle.Alloc( dc );
|
CompletePin = GCHandle.Alloc( dc, GCHandleType.Pinned );
|
||||||
|
|
||||||
var t = new StdVTable()
|
var t = new StdVTable()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user