File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/EmptyFlow.SciterAPI.UnitTest Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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 ( ) ;
You can’t perform that action at this time.
0 commit comments