-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add stop support for in process modules #15
Conversation
6cc60f5
to
8113fc0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
@@ -45,4 +45,4 @@ fi | |||
# [Native]Activity. It will give us all the android runtime dependencies we need. | |||
${APP_PROCESS_NAME} -Djava.class.path="$SAFE_JAR_PATH" -Djava.library.path="$LIBRARY_PATH" \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not for today, but should we make this an exec
? would prevent the extra sh
proc from hanging around
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah probably!
@@ -90,7 +92,9 @@ public BaseModule(final String[] args) { | |||
LOGGER.severe("[ERROR] Uncaught exception: " + throwable); | |||
throwable.printStackTrace(); | |||
}); | |||
server = new Server(Collections.emptyList(), getServerBuilder(), new ModuleRPCService(this)); | |||
final Executor executor = Executors.newCachedThreadPool(Executors.defaultThreadFactory()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why this change? to have references to threads?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
more explicit about what kind of executor. not sure what default was and we use this in an another example
No description provided.