Peer disconnect when actor destroyed?

Options
oman
oman
edited June 2012 in Photon Server
like the mmo project, the peer is bond to an actor, when i destroy the actor, the peer disconnect or not ?(in the actor's destructor whethe it call the peer's disconnect method to disconnect the peer? )
If the client connect to the server and the server don't create actor , when the peer autodisconnect and disconnect itself?

Comments

  • BenStahl
    Options
    A peer will not be disconnected if the actor which is bound to the peer will be detroyed.