When I run my flutter application it show
Waiting for another flutter command to release the startup lock
this messages and not
Most are saying killall -9 dart but nobody mentioned pkill -f dart which worked for me.
killall -9 dart
pkill -f dart
The difference between the 2 is explained here.