[MXS-4164] Debug assertion when cat session ends Created: 2022-06-13 Updated: 2022-06-13 Resolved: 2022-06-13 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | Router |
| Affects Version/s: | 2.5.20 |
| Fix Version/s: | 2.5.21, 6.4.1 |
| Type: | Bug | Priority: | Trivial |
| Reporter: | markus makela | Assignee: | markus makela |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
The debug assertion in Backend::~Backend() is hit when the CatSession is closed. This happens because it does not explicitly close the backends. The debug assertion itself is not that useful in version 6 and should be removed: the Backend class already takes care of closing the backends and with the removal of the close() method, the automatic handling in the destructor is enough. |