Skip to content

Commit

Permalink
Update grpc.h comment
Browse files Browse the repository at this point in the history
  • Loading branch information
AspirinSJL committed Aug 2, 2018
1 parent 16a8361 commit fa8aa6d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions include/grpc/grpc.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ GRPCAPI void grpc_register_plugin(void (*init)(void), void (*destroy)(void));

/** Initialize the grpc library.
After it's called, a matching invocation to grpc_shutdown() is expected.
It is not safe to call any other grpc functions before calling this.
(To avoid overhead, little checking is done, and some things may work. We
do not warrant that they will continue to do so in future revisions of this
Expand All @@ -68,6 +70,9 @@ GRPCAPI void grpc_init(void);

/** Shut down the grpc library.
Before it's called, there should haven been a matching invocation to
grpc_init().
No memory is used by grpc after this call returns, nor are any instructions
executing within the grpc library.
Prior to calling, all application owned grpc objects must have been
Expand Down

0 comments on commit fa8aa6d

Please sign in to comment.