-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Out of curiosity if you set this to write to a connector dump file I
presume you only see the events once, right? What about if you then
replay that connector dump through a File Connector (in replay mode);
does that also cause duplicate events? Is it a safe assumption that,
regardless of trusting event source time, this section of code is used
for processing each events (vs. being bypassed thanks to some
conditional that short-circuits the execution before this code is
reached)? Have you already walked through the events in the debugger to
see why it is processing the same thing twice?

Good luck.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJQHCBYAAoJEF+XTK08PnB52WwP/3PpqJfurzEQuVfEA4vX2hCw
WkgffQSnbc/Ol2rILqTCMiGrwJnlrk0aFgXXqVwd1L1Mgy4W5vPrYaKlG2c32 gEr
5m9YHUHRnxtSbbHsCTP9LttT9OD2u9mTkgSxCW98Paefr7/dOMhhQQ3NDAJZklTc
hSQIsMXKuW3cisCgJFxCDg4oQgR/18I3msycC/oGacb69fFDz9ZfQ2b0aLsLEsBi
n0SvrbAIxGonk1L6DafKe9rgi+z90VYisKVYPpS44c1GKqWyon SZCq5LMVvHdQgy
1VVaBedAsLduRwj0UI9N+kiBv+XkowPxvKy5B/y0b2RCYR2SGyJ5yQULAKLYQwLw
vF38gvO5UomjyA8yVyCm096eL5kqE0KF2YdtpPOoJOIG85jHgG vMtQobJ9jOURfV
FC+vpQwnuvc2tMRJKfP+m3S+U263qLXebs4CxfVFCCJgA6P5hO RgmgPitac6P3vS
iCwJjJ0CCl2F8s1UlkJypYXHidVHyILQ3bxBvxigSIRCfqC2ak aL1avLHQn4QrT4
f9LvNZ5g8JwGKvcelev0jZJWB8BrDTk2qqyUaLzcfZcSsPH6DI qm61hgw9LyEE5z
ykpmVeRVCCLFrgBd+xpvJ5Y+vjCEPJ9WFJFqF8PdmEeH1sl7aW 2ZQZoW+wX7+HT6
TJdHmotbLzs+nDFpf/fV
=goDX
-----END PGP SIGNATURE-----