mirror of
https://github.com/PeterCamilleri/fOOrth
synced 2024-11-16 07:47:56 +01:00
No longer resets start timer on an interpreter reset.
This commit is contained in:
parent
a204aa6c19
commit
4d0020226c
3 changed files with 4 additions and 3 deletions
|
@ -58,6 +58,7 @@ module XfOOrth
|
|||
|
||||
#This virtual machine is associated with this thread.
|
||||
current[:vm] = self
|
||||
@start_time = Time.now
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -17,7 +17,6 @@ module XfOOrth
|
|||
#Reset the state of the fOOrth inner interpreter.
|
||||
def interpreter_reset
|
||||
@data_stack = Array.new
|
||||
@start_time = Time.now
|
||||
end
|
||||
end
|
||||
|
||||
|
|
5
reek.txt
5
reek.txt
|
@ -1,2 +1,3 @@
|
|||
|
||||
0 total warnings
|
||||
lib/fOOrth/library/thread_library.rb -- 1 warning:
|
||||
[77]:Thread#self.do_foorth_new_block has approx 11 statements (TooManyStatements)
|
||||
1 total warning
|
||||
|
|
Loading…
Reference in a new issue