2da19d5d6b
When calling unmap on a mapped buffer for which the callback hasn't fired yet, the callback should be called with UNKNOWN. The code marked the callback as called only after calling it, causing problems with re-entrancy where the callback would be called twice. This could also get triggered by destroying the buffer inside the callback. Fix this in backend::Buffer and the WireClient and add test for both. |
||
---|---|---|
.. | ||
WireClient.cpp | ||
WireCmd.cpp | ||
WireCmd.h | ||
WireServer.cpp |