Skip to content

Commit

Permalink
Dropped wrong comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
FedeDP committed Jul 18, 2019
1 parent befcabb commit 54c1c9f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 0 additions & 3 deletions Lib/module.c
Original file line number Diff line number Diff line change
Expand Up @@ -227,9 +227,6 @@ module_ret_code stop(module *mod, const bool stop) {
* as if it is stopped and restarted multiple times,
* we will close and reopen its pubsub_fds,
* thus we are not able to retrieve its old messages anymore.
*
* Pass a !NULL pointer as first parameter,
* so flush_pubsub_msgs() will free messages instead of delivering them.
*/
flush_pubsub_msgs(NULL, NULL, mod);
}
Expand Down
1 change: 1 addition & 0 deletions TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ conversely to module_stop that should stop module right away freeing all its enq
- [x] Rename modules_set_memalloc_hook to modules_set_memhook() + rename memalloc_hook to memhook_t
- [x] stop() and start() should avoid err_str parameter.
- [x] Stop looping on context when there are no RUNNING modules?
- [ ] Stop looping on context when there are no RUNNING modules even right after modules_ctx_loop() has been called?
- [ ] Is LOOP_STOPPED sysmessage useful? Right now it is delivered and flushed (freed)...

### Doc
Expand Down

0 comments on commit 54c1c9f

Please sign in to comment.