This event occurs before a Fly file is closed to notify the client that the file is being closed.
JavaScript
OnFileClosing()
C#
void OnFileClosing()
C++
HRESULT OnFileClosing()