Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | network: fix segfaults when TCP & UDP blocks are restarted | Clayton Smith | 2021-12-07 | 1 | -0/+36 |
The TCP and UDP blocks segfault if start() is called after stop(), because stop() frees resources that are not re-allocated by start(). To fix this, I've moved resource allocation for these blocks from the constructor to start(). Signed-off-by: Clayton Smith <argilo@gmail.com> |