Skip to content

Commit b2b569d

Browse files
committed
Fix build
1 parent 8b587eb commit b2b569d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/EmptyFlow.SciterAPI.UnitTest/SciterAPIHostIntegrationTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1009,7 +1009,7 @@ public void SciterAPIHost_Completed_SetSharedVariable () {
10091009
)
10101010
);
10111011
var value = host.CreateValue ( "testvalue" );
1012-
host.SetSharedVariable ( "globalVariable", value );
1012+
host.SetSharedVariable ( "globalVariable", ref value );
10131013
host.CreateMainWindow ( 300, 300, enableDebug: true );
10141014
host.LoadFile ( "embedded://test.html" );
10151015
host.AddWindowEventHandler ( new DocumentXCallHandler ( MethodHandled, host ) );
@@ -1038,7 +1038,7 @@ public void SciterAPIHost_Completed_SetMainWindowVariable () {
10381038
host.LoadHtml ( "<html><body></body></html>" );
10391039
host.AddWindowEventHandler ( new DocumentReadyHandler ( ProcessCompleted, host ) );
10401040
var value = host.CreateValue ( "testvalue" );
1041-
host.SetMainWindowVariable ( "globalVariable", value );
1041+
host.SetMainWindowVariable ( "globalVariable", ref value );
10421042

10431043
//Act
10441044
host.Process ();

0 commit comments

Comments
 (0)