Can I e-file my return after filing extension (still not accepted yet) on the same day?

Is there going to be an issue if a return is filed a few hours after the extension was submitted and is still under processing as extension accepted confirmation has not been received yet. 

What if someone panicked and filed and extension unnecessarily?