| 38 | } |
| 39 | |
| 40 | void GCThread(void *) |
| 41 | { |
| 42 | // Invoke the garbage collector until it is time to stop |
| 43 | while( !stop ) |
| 44 | engine->GarbageCollect(); |
| 45 | |
| 46 | // Give AngelScript a chance to cleanup some memory |
| 47 | asThreadCleanup(); |
| 48 | } |
| 49 | |
| 50 | bool Test() |
| 51 | { |
nothing calls this directly
no test coverage detected