Electric current will stop flowing when the potential difference is:
Zero
Electric current will stop flowing when potential difference between two points is zero. Current always flow from higher potential to lower potential. But if the ends are at the same potential, there is no potential difference which can cause the flow of current.