Why are the NVENC examples not flushing the encoder?

I was reading the programmers guide which describes flushing as part of ending the encode session. Is there a reason why the NVIDIA NVENC examples don’t flush the encoder instance? Will destroying the encoder also flush it?