mirror of
https://github.com/jwetzell/aas-js.git
synced 2026-08-10 15:13:39 +00:00
add a reset method to console
This commit is contained in:
@@ -3,6 +3,12 @@ class Console {
|
||||
this.sportInitialized = false;
|
||||
}
|
||||
|
||||
reset() {
|
||||
this.sportInitialized = false;
|
||||
delete this.sport;
|
||||
delete this.state;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @param {Buffer} buffer
|
||||
|
||||
Reference in New Issue
Block a user