Here is my flow graph:
File source > Throttle > Packet encoder > Packed to unpacked > Packet decoder > File sink.
No matter what i do, the final 1 or 2 packets (depending upon the number of bytes from file source) don't get written to file sink. The problem is the same if i replace file source and file sink with TCP source and TCP sink. I think it is an issue with Packet encoder and decoder. Any idea on how to fix this?