Commit cf9069f
Fix duplicate REMOVE event in remove(AccessIterator)
Summary: remove(AccessIterator&) records a REMOVE/REMOVED event before calling removeImpl(), but passes the default recordApiEvent=true to removeImpl(), which records the same REMOVE event again. This results in duplicate REMOVE events for a single remove-by-iterator operation. Fix by passing recordApiEvent=false to removeImpl() since the event is already recorded by the caller.
Reviewed By: rlyerly
Differential Revision: D100876318
fbshipit-source-id: 632ac377f87ad5d75843a5b70b5fbb35615ae0a71 parent 0a81319 commit cf9069f
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4247 | 4247 | | |
4248 | 4248 | | |
4249 | 4249 | | |
4250 | | - | |
| 4250 | + | |
| 4251 | + | |
4251 | 4252 | | |
4252 | 4253 | | |
4253 | 4254 | | |
| |||
0 commit comments