This T-bar should’ve never been installed on the flat of a roof because water can go in at the screws holding the T-bar on and caused the roof to rot and leak. A commercial drip edge needs to be installed here instead.
This is what commercial drip edge would look like on the edge of this roof.