mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 18:03:56 -04:00
actually quit the client when the server process is not running
This commit is contained in:
parent
f6971cc724
commit
5dcf6560a9
@ -44,7 +44,8 @@ int main(int argc, char *argv[]) {
|
||||
// Open a connection to the server process
|
||||
PT(Connection) con = prog.qManager->open_TCP_client_connection(prog.server,0);
|
||||
if (con.is_null()) {
|
||||
nout << "port opened fail";
|
||||
nout << "Failed to open port to server process.\nMake sure maya2egg_server is running on localhost\n";
|
||||
exit(1);
|
||||
}
|
||||
|
||||
// Add this connection to the readers list
|
||||
|
Loading…
x
Reference in New Issue
Block a user