Clear bitmap timeout on dispose

This commit is contained in:
Daniel Imms
2018-09-17 07:48:05 -07:00
parent 94b20d40bf
commit d9ec47ab7a
3 changed files with 12 additions and 1 deletions
+4 -1
View File
@@ -4,10 +4,13 @@
*/
import { IGlyphIdentifier } from './Types';
import { IDisposable } from 'xterm';
export default abstract class BaseCharAtlas {
export default abstract class BaseCharAtlas implements IDisposable {
private _didWarmUp: boolean = false;
public dispose(): void { }
/**
* Perform any work needed to warm the cache before it can be used. May be called multiple times.
* Implement _doWarmUp instead if you only want to get called once.