mirror of
				https://github.com/saitohirga/WSJT-X.git
				synced 2025-10-31 13:10:19 -04:00 
			
		
		
		
	Unkey rig if program exits while transmitting.
This will not help if the program crashes, but at least graceful exits will not leave the rig in TX. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3984 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
		
							parent
							
								
									3ddf0d64d3
								
							
						
					
					
						commit
						6e232c85f1
					
				| @ -35,6 +35,10 @@ void TransceiverBase::start () noexcept | ||||
|     { | ||||
|       if (m_->state_.online ()) | ||||
|         { | ||||
|           // ensure PTT isn't left set
 | ||||
|           do_ptt (false); | ||||
|           do_post_ptt (false); | ||||
| 
 | ||||
|           do_stop (); | ||||
|           do_post_stop (); | ||||
|           m_->state_.online (false); | ||||
| @ -62,6 +66,13 @@ void TransceiverBase::stop () noexcept | ||||
|   QString message; | ||||
|   try | ||||
|     { | ||||
|       if (m_->state_.online ()) | ||||
|         { | ||||
|           // ensure PTT isn't left set
 | ||||
|           do_ptt (false); | ||||
|           do_post_ptt (false); | ||||
|         } | ||||
| 
 | ||||
|       do_stop (); | ||||
|       do_post_stop (); | ||||
|       m_->state_.online (false); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user