Sample Recorder shows "stopping" but just hangs

I am trying to sample some sounds from an Atari ST emulator using stereo mix in the Sample Recorder but when i press stop it hangs showing “stopping” in the box between Start and Cancel

Ok, problem solved

I unchecked “write to primary buffer” in the sound options of the emulator and it now works