*fixed a multiple disposing bug with gc;
*polished the yard sample.
This commit is contained in:
parent
0eea555b2b
commit
442e26ca3f
3
HISTORY
3
HISTORY
@ -1,3 +1,6 @@
|
||||
Aug. 9 2016
|
||||
Fixed a multiple disposing bug with GC
|
||||
|
||||
Aug. 7 2016
|
||||
Refactored to return UNKNOWN when trying to access a not exist member in a prototype
|
||||
|
||||
|
@ -5861,7 +5861,7 @@ static void _gc_add(_ref_t* ref, void* data, _gc_t* gc) {
|
||||
return;
|
||||
|
||||
if(gc && _ht_find(gc->collected_table, ref))
|
||||
return;
|
||||
_ht_remove(gc->collected_table, ref, 0);
|
||||
|
||||
if(!gc->table)
|
||||
return;
|
||||
|
@ -6,6 +6,7 @@
|
||||
import "level.bas"
|
||||
import "player.bas"
|
||||
|
||||
cls()
|
||||
print "Welcome to Yet Another RPG Dungeon!";
|
||||
|
||||
level.create()
|
||||
|
Loading…
x
Reference in New Issue
Block a user