If it is black's turn, his king is in check, and he has no legal moves, then it is checkmate and he loses the game. You can never have a stalemate while you are in check.
I can only assume that either the computer you played with had a bug, or you aren't remembering the details of that situation correctly.