changelog shortlog tags manifest raw

changeset: add missing cleanup

changeset 774: 48b9f9d1bf84
parent 773:18d5a87654c9
child 775:2d5239eda312
author: root@kun
date: Tue Aug 26 14:42:43 2008 +0000 (2 months ago)
files: jpoker/js/test-jpoker.js
description: add missing cleanup
--- a/jpoker/js/test-jpoker.js	Tue Aug 26 14:42:23 2008 +0000
+++ b/jpoker/js/test-jpoker.js	Tue Aug 26 14:42:43 2008 +0000
@@ -977,6 +977,7 @@
 	equals(server.callbacks[0][0], callback, 'tourneyRegister callback still in place');
 	server.notify(game_id, {type: 'PacketPing'});
 	equals(server.callbacks[game_id][0], callback_game_id, 'tourneyRegister callback_game_id still in place');
+	cleanup();
     });
 
 test("jpoker.server.tourneyUnregister", function(){
@@ -1013,7 +1014,6 @@
     });
 
 test("jpoker.server.tourneyUnregister error", function(){
-
         expect(1);
 	stop();
 
@@ -1057,6 +1057,7 @@
 	equals(server.callbacks[0][0], callback, 'tourneyUnregister callback still in place');
 	server.notify(game_id, {type: 'PacketPing', id: game_id});
 	equals(server.callbacks[game_id][0], callback_game_id, 'tourneyUnregister callback_game_id still in place');
+	cleanup();
     });
 
 test("jpoker.server.getPersonalInfo", function(){