fabric-packet-logger icon indicating copy to clipboard operation
fabric-packet-logger copied to clipboard

Fix possible race condition when saving packet bufs

Open Ari24-cb24 opened this issue 1 year ago • 0 comments

Since I "predict" the next index of the packet, there could be a race condition happening. Tried this with debugging and halting the code and seems like it does, giving the frontend a totally wrong index causing wrong data being displayed.

Either:

  • Fix race condition (queue or something else)
  • Use something different than indexes to have a lookup-id for the frontend, which is race-condition "save"

Ari24-cb24 avatar May 26 '23 21:05 Ari24-cb24