You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Only the first instantiated Client object can execute RPCs. Client object created after the first one raise exception when RPC method is invoked through it.
client1=KRPC::Client.new.connect!putsclient1.space_center.ut#=> 9463.840156254686client1.closeclient2=KRPC::Client.new.connect!putsclient2.space_center.ut#=> Exception: RPC call attempt while not connected to server -- call Client#connect first
The text was updated successfully, but these errors were encountered:
RPC methods are bound to a single Client object. RPC method use the Client object that was in scope during that method (dynamic) creation. When second Client object is instantiated, RPC methods accessed through this object execute RPC calls using the first Client object's connection.
Only the first instantiated
Client
object can execute RPCs.Client
object created after the first one raise exception when RPC method is invoked through it.The text was updated successfully, but these errors were encountered: