()
| 255 | } |
| 256 | |
| 257 | export function forceGC() { |
| 258 | if (__APPLE__) { |
| 259 | /* tslint:disable:no-unused-expression */ |
| 260 | // Could cause GC on the next call. |
| 261 | new ArrayBuffer(4 * 1024 * 1024); |
| 262 | } |
| 263 | |
| 264 | Utils.GC(); |
| 265 | TKUnit.wait(0.001); |
| 266 | } |
| 267 | |
| 268 | export function _generateFormattedString(): FormattedString { |
| 269 | let formattedString = new FormattedString(); |
no outgoing calls
no test coverage detected