mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
(main): Use -invalidate, not -release.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@460 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
ef397f6100
commit
801fb52b25
2 changed files with 2 additions and 2 deletions
|
@ -30,7 +30,7 @@ int main(int argc, char *argv[])
|
|||
|
||||
|
||||
printf("Shutting down my connection to the server\n");
|
||||
[s release];
|
||||
[s invalidate];
|
||||
|
||||
exit(0);
|
||||
}
|
||||
|
|
|
@ -45,7 +45,7 @@ int main(int argc, char *argv[])
|
|||
[[server connectionForProxy] runConnectionWithTimeout:15000];
|
||||
|
||||
/* Clean up, to let the server know we're going away */
|
||||
[[server connectionForProxy] free];
|
||||
[[server connectionForProxy] invalidate];
|
||||
|
||||
exit(0);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue