Created
August 26, 2014 15:26
-
-
Save trevorbernard/d538ca2df3a847b869f9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Example { | |
public static void main(String[] args) { | |
ZContext context = null; | |
try { | |
context = new ZContext(); | |
new Application(args).start() // blocking call and will close it's resources when finished | |
} finally { | |
try { context.close() } catch( Exception e ) {} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment